diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2011-10-07 13:36:40 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-11-14 13:01:20 +0100 |
commit | 57d1c0c03c6b48b2b96870d831b9ce6b917f53ac (patch) | |
tree | 80039cd44137c39e4ab400e642ee3751cb870f50 /arch/x86/kernel/cpu/umc.c | |
parent | 7f80850d3f9fd8fda23a317044aef3a6bafab06b (diff) | |
download | kernel_goldelico_gta04-57d1c0c03c6b48b2b96870d831b9ce6b917f53ac.zip kernel_goldelico_gta04-57d1c0c03c6b48b2b96870d831b9ce6b917f53ac.tar.gz kernel_goldelico_gta04-57d1c0c03c6b48b2b96870d831b9ce6b917f53ac.tar.bz2 |
perf/x86: Fix PEBS instruction unwind
Masami spotted that we always try to decode the instruction stream as
64bit instructions when running a 64bit kernel, this doesn't work for
ia32-compat proglets.
Use TIF_IA32 to detect if we need to use the 32bit instruction
decoder.
Reported-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: stable@kernel.org
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/umc.c')
0 files changed, 0 insertions, 0 deletions