projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c338867
)
x86/compat, x86/perf: Don't build perf_callchain_user32() on x32
author
Brian Gerst
<
[email protected]
>
Mon, 22 Jun 2015 11:55:17 +0000
(07:55 -0400)
committer
Ingo Molnar
<
[email protected]
>
Mon, 6 Jul 2015 13:28:57 +0000
(15:28 +0200)
perf_callchain_user32() is not needed for x32.
Signed-off-by: Brian Gerst <
[email protected]
>
Cc: Andy Lutomirski <
[email protected]
>
Cc: Borislav Petkov <
[email protected]
>
Cc: Denys Vlasenko <
[email protected]
>
Cc: H. Peter Anvin <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/cpu/perf_event.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/perf_event.c
b/arch/x86/kernel/cpu/perf_event.c
index 3658de47900f9a921a0f8373db962e061d42db3a..641413d68a548ceda2ed90e86cd8c333d729e5f7 100644
(file)
--- a/
arch/x86/kernel/cpu/perf_event.c
+++ b/
arch/x86/kernel/cpu/perf_event.c
@@
-2196,7
+2196,7
@@
static unsigned long get_segment_base(unsigned int segment)
return get_desc_base(desc + idx);
}
-#ifdef CONFIG_
COMPAT
+#ifdef CONFIG_
IA32_EMULATION
#include <asm/compat.h>