diff options
| author | Gerlando Falauto <[email protected]> | 2012-02-27 08:08:21 +0000 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2012-02-27 13:45:11 +0000 |
| commit | 8c9cf542b8a66c231747a550573d910daf17f0e9 (patch) | |
| tree | 7d6fbd5b30d4409522d1258ce7f8eee6a9aefd76 /lib/debugobjects.c | |
| parent | tracing/ring-buffer: Only have tracing_on disable tracing buffers (diff) | |
| download | kernel-8c9cf542b8a66c231747a550573d910daf17f0e9.tar.gz kernel-8c9cf542b8a66c231747a550573d910daf17f0e9.zip | |
tracing: Do not select FRAME_POINTER on PPC
On PowerPC, FUNCTION_TRACER selects FRAME_POINTER, even
though the architecture does not support it.
This causes the following warning:
warning: (LOCKDEP && FAULT_INJECTION_STACKTRACE_FILTER && LATENCYTOP && FUNCTION_TRACER && KMEMCHECK) selects FRAME_POINTER which has unmet direct dependencies (DEBUG_KERNEL && (CRIS || M68K || FRV || UML || AVR32 || SUPERH || BLACKFIN || MN10300) || ARCH_WANT_FRAME_POINTERS)
So remove the warning by adding the extra condition
"if !PPC" to FUNCTION_TRACER for FRAME_POINTER selection
Link: http://lkml.kernel.org/r/[email protected]
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Gerlando Falauto <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
