aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorDavid S. Miller <[email protected]>2010-03-29 20:08:52 +0000
committerDavid S. Miller <[email protected]>2010-03-29 20:08:52 +0000
commit9e8307ecaf9f8c8b5b3b22145021204c4e73114a (patch)
treed0361a2e093120880adecbd87c1f0f26a57541e9 /net/lapb/lapb_in.c
parentarch/sparc/kernel: Use set_cpus_allowed_ptr (diff)
downloadkernel-9e8307ecaf9f8c8b5b3b22145021204c4e73114a.tar.gz
kernel-9e8307ecaf9f8c8b5b3b22145021204c4e73114a.zip
sparc64: Properly truncate pt_regs framepointer in perf callback.
For 32-bit processes, we save the full 64-bits of the regs in pt_regs. But unlike when the userspace actually does load and store instructions, the top 32-bits don't get automatically truncated by the cpu in kernel mode (because the kernel doesn't execute with PSTATE_AM address masking enabled). So we have to do it by hand. Reported-by: Frederic Weisbecker <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions