* [PATCH] perf: Fix build warning
@ 2010-08-25 6:49 Lin Ming
0 siblings, 0 replies; only message in thread
From: Lin Ming @ 2010-08-25 6:49 UTC (permalink / raw)
To: Frederic Weisbecker; +Cc: Peter Zijlstra, Ingo Molnar, lkml
Fixes build warning introduced by the callchain rework
arch/x86/kernel/cpu/perf_event.c:1574: warning: ‘perf_callchain_entry_nmi’ defined but not used
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
---
arch/x86/kernel/cpu/perf_event.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/cpu/perf_event.c b/arch/x86/kernel/cpu/perf_event.c
index acc52af..bcddac6 100644
--- a/arch/x86/kernel/cpu/perf_event.c
+++ b/arch/x86/kernel/cpu/perf_event.c
@@ -1571,9 +1571,6 @@ const struct pmu *hw_perf_event_init(struct perf_event *event)
* callchain support
*/
-static DEFINE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry_nmi);
-
-
static void
backtrace_warning_symbol(void *data, char *msg, unsigned long symbol)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-25 6:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-25 6:49 [PATCH] perf: Fix build warning Lin Ming
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®