From: Andreas Schwab Date: Thu, 6 Nov 2008 00:49:00 +0000 (+0000) Subject: powerpc: Fix msr check in compat_sys_swapcontext X-Git-Tag: v2.6.28-rc5~86^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77eb50aefa5dd2337246dce8b66e18e837c1a8bc;p=pandora-kernel.git powerpc: Fix msr check in compat_sys_swapcontext The new context may not be 16-byte aligned, so the real address of the mcontext structure should be read from the uc_regs pointer instead of directly using the (unaligned) uc_mcontext field. Signed-off-by: Andreas Schwab Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed