summaryrefslogtreecommitdiff
path: root/arch/arm/oprofile/Kconfig
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2006-12-19 15:41:22 +0300
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-06 19:46:44 +0300
commit2d9e1ae06d8f0bb187ea083fabab2dfb6f589270 (patch)
tree645030f8d06f171535483c73a4bce9f64376e3c9 /arch/arm/oprofile/Kconfig
parentc265a762aa196de11f38f6f44cc817329f32a813 (diff)
downloadlinux-2d9e1ae06d8f0bb187ea083fabab2dfb6f589270.tar.xz
[ARM] oprofile: add ARM11 UP support
Add oprofile glue for ARM11 (ARMv6) oprofile support. This connects the ARM11 core profiling support to the oprofile code for uniprocessor configurations. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/oprofile/Kconfig')
-rw-r--r--arch/arm/oprofile/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/oprofile/Kconfig b/arch/arm/oprofile/Kconfig
index 615a6b9503a4..40cc1894b517 100644
--- a/arch/arm/oprofile/Kconfig
+++ b/arch/arm/oprofile/Kconfig
@@ -19,8 +19,18 @@ config OPROFILE
If unsure, say N.
+if OPROFILE
+
+config OPROFILE_ARMV6
+ bool
+ depends on CPU_V6 && !SMP
+ default y
+ select OPROFILE_ARM11_CORE
+
config OPROFILE_ARM11_CORE
bool
+endif
+
endmenu