summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/perf_event.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2011-04-21 15:45:45 -0700
committerDavid S. Miller <davem@davemloft.net>2011-04-21 15:45:45 -0700
commitcb1b8209815594613650772eeb889c170107dad4 (patch)
tree9a3530e404083464992c7969cec7fcab6c972e48 /arch/sparc/kernel/perf_event.c
parent5eb1f4fc167f5adc5f15e722e25eff6713fb3406 (diff)
downloadlinux-cb1b8209815594613650772eeb889c170107dad4.tar.gz
linux-cb1b8209815594613650772eeb889c170107dad4.tar.bz2
linux-cb1b8209815594613650772eeb889c170107dad4.zip
sparc: consolidate show_cpuinfo in cpu.c
We have all the cpu related info in cpu.c - so move the remaining functions to support /proc/cpuinfo to this file. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/perf_event.c')
-rw-r--r--arch/sparc/kernel/perf_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/perf_event.c b/arch/sparc/kernel/perf_event.c
index ee8426ede7c7..2cb0e1c001e2 100644
--- a/arch/sparc/kernel/perf_event.c
+++ b/arch/sparc/kernel/perf_event.c
@@ -26,6 +26,7 @@
#include <asm/nmi.h>
#include <asm/pcr.h>
+#include "kernel.h"
#include "kstack.h"
/* Sparc64 chips have two performance counters, 32-bits each, with