summaryrefslogtreecommitdiffstats
path: root/arch/avr32/Kconfig
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2006-01-04 17:26:23 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2008-01-25 08:31:40 +0100
commit2853ce5ecefe9d9ca119f33db0c23a3f075e35d9 (patch)
treec321226cab8ab804411c1fd8d74fa88b53d5f165 /arch/avr32/Kconfig
parenta7f5bf9b95ace39cd8b61e8c9ca1035966779ed1 (diff)
downloadlinux-2853ce5ecefe9d9ca119f33db0c23a3f075e35d9.tar.gz
linux-2853ce5ecefe9d9ca119f33db0c23a3f075e35d9.tar.xz
[AVR32] Oprofile support
This adds the necessary architecture code to run oprofile on AVR32 using the performance counters documented by the AVR32 Architecture Manual. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com> Acked-by: Philippe Elie <phil.el@wanadoo.fr>
Diffstat (limited to 'arch/avr32/Kconfig')
-rw-r--r--arch/avr32/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/avr32/Kconfig b/arch/avr32/Kconfig
index bc08c7f0883f..767a19cfa423 100644
--- a/arch/avr32/Kconfig
+++ b/arch/avr32/Kconfig
@@ -54,6 +54,9 @@ config ARCH_HAS_ILOG2_U32
config ARCH_HAS_ILOG2_U64
def_bool n
+config ARCH_SUPPORTS_OPROFILE
+ def_bool y
+
config GENERIC_HWEIGHT
def_bool y