summaryrefslogtreecommitdiffstats
path: root/arch/sparc/Kconfig
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-09-04 11:56:22 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-04 11:56:22 +0200
commit825c9fb47a0837db12fecf8d360e0e1d284ddb49 (patch)
tree555effec5a598bb8de43fc49b801b8ef403f5ffd /arch/sparc/Kconfig
parentMerge branch 'master' of /home/davem/src/GIT/linux-2.6/ (diff)
downloadlinux-825c9fb47a0837db12fecf8d360e0e1d284ddb49.tar.xz
linux-825c9fb47a0837db12fecf8d360e0e1d284ddb49.zip
sparc: add basic support for 'perf'
This wires up the perf_counter_open() syscall so that basic software support for perf is working. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r--arch/sparc/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index b847f880eeca..2aa7cd39b481 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -25,6 +25,7 @@ config SPARC
select ARCH_WANT_OPTIONAL_GPIOLIB
select RTC_CLASS
select RTC_DRV_M48T59
+ select HAVE_PERF_COUNTERS
config SPARC32
def_bool !64BIT
@@ -44,6 +45,7 @@ config SPARC64
select RTC_DRV_BQ4802
select RTC_DRV_SUN4V
select RTC_DRV_STARFIRE
+ select HAVE_PERF_COUNTERS
config ARCH_DEFCONFIG
string