ia64: don't mess with ar_bspstore in kernel_thread()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 30 Sep 2012 04:27:40 +0000 (00:27 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Oct 2012 23:33:54 +0000 (19:33 -0400)
commitc19e6d67e4be16e20ff90f0baa98b16d926d23a5
treec5421d406815c7341c26179acf8b71bdaf251a18
parentc4aee363af2a81f9726c5fa13e136ebaf02852bd
ia64: don't mess with ar_bspstore in kernel_thread()

the only thing we use that for is in copy_thread(), where the way
we set it will result in rbs_size being 0.  Just move that calculating
rbs_size and copying rbs to non-kernel-thread side of
if (user_mode(regs)) in copy_thread() and set rbs_size to 0 on
kernel thread side.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/ia64/kernel/process.c