diff options
author | Andreas Schwab <schwab@suse.de> | 2008-11-05 19:49:00 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-11-11 03:42:22 -0500 |
commit | 77eb50aefa5dd2337246dce8b66e18e837c1a8bc (patch) | |
tree | 76232c81ab3f3badfbd45b5793dc4637fd2ed0dd /include/linux/fs.h | |
parent | ec5d7657f746c46b5fbb3dbec6d0f7d8b6b82961 (diff) |
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 <schwab@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/linux/fs.h')
0 files changed, 0 insertions, 0 deletions