From: Al Viro Date: Sun, 30 Sep 2012 04:27:40 +0000 (-0400) Subject: ia64: don't mess with ar_bspstore in kernel_thread() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~47^2~43^2~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c19e6d67e4be16e20ff90f0baa98b16d926d23a5;p=pandora-kernel.git 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 --- Reading git-diff-tree failed