diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-29 23:41:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-29 23:41:00 +0200 |
commit | c45140a996b511bccdcbbdbea7e36f001826bdf2 (patch) | |
tree | 8d6613880399d1a25598f7cb51834efbbda87ad9 /arch/sparc/kernel/perf_event.c | |
parent | ext3: fix broken handling of EXT3_STATE_NEW (diff) | |
parent | sparc64: Properly truncate pt_regs framepointer in perf callback. (diff) | |
download | linux-c45140a996b511bccdcbbdbea7e36f001826bdf2.tar.xz linux-c45140a996b511bccdcbbdbea7e36f001826bdf2.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6:
sparc64: Properly truncate pt_regs framepointer in perf callback.
arch/sparc/kernel: Use set_cpus_allowed_ptr
sparc: Fix use of uid16_t and gid16_t in asm/stat.h
Diffstat (limited to 'arch/sparc/kernel/perf_event.c')
-rw-r--r-- | arch/sparc/kernel/perf_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/kernel/perf_event.c b/arch/sparc/kernel/perf_event.c index 68cb9b42088f..e2771939341d 100644 --- a/arch/sparc/kernel/perf_event.c +++ b/arch/sparc/kernel/perf_event.c @@ -1337,7 +1337,7 @@ static void perf_callchain_user_32(struct pt_regs *regs, callchain_store(entry, PERF_CONTEXT_USER); callchain_store(entry, regs->tpc); - ufp = regs->u_regs[UREG_I6]; + ufp = regs->u_regs[UREG_I6] & 0xffffffffUL; do { struct sparc_stackf32 *usf, sf; unsigned long pc; |