diff options
author | 2008-11-06 00:49:00 +0000 | |
---|---|---|
committer | 2008-11-11 19:42:22 +1100 | |
commit | 77eb50aefa5dd2337246dce8b66e18e837c1a8bc (patch) | |
tree | 76232c81ab3f3badfbd45b5793dc4637fd2ed0dd /net/unix/sysctl_net_unix.c | |
parent | powerpc: Repair device bindings documentation (diff) | |
download | linux-dev-77eb50aefa5dd2337246dce8b66e18e837c1a8bc.tar.xz linux-dev-77eb50aefa5dd2337246dce8b66e18e837c1a8bc.zip |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions