commit | c19e6d67e4be16e20ff90f0baa98b16d926d23a5 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Sep 30 00:27:40 2012 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Oct 14 19:33:54 2012 -0400 |
tree | c5421d406815c7341c26179acf8b71bdaf251a18 | |
parent | c4aee363af2a81f9726c5fa13e136ebaf02852bd [diff] |
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>