]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/Kconfig
Fix ARM to play nicely with generic Instrumentation menu
[linux-2.6-omap-h63xx.git] / arch / arm / Kconfig
index 4b1a8e3d292cfe74c864790c30cb08ca8dd59f63..623eaa1f3080de0c148a09e673fadaaae09485e5 100644 (file)
@@ -135,6 +135,23 @@ config FIQ
 config ARCH_MTD_XIP
        bool
 
+if OPROFILE
+
+config OPROFILE_ARMV6
+       def_bool y
+       depends on CPU_V6 && !SMP
+       select OPROFILE_ARM11_CORE
+
+config OPROFILE_MPCORE
+       def_bool y
+       depends on CPU_V6 && SMP
+       select OPROFILE_ARM11_CORE
+
+config OPROFILE_ARM11_CORE
+       bool
+
+endif
+
 config VECTORS_BASE
        hex
        default 0xffff0000 if MMU || CPU_HIGH_VECTOR
@@ -1128,7 +1145,7 @@ endmenu
 
 source "fs/Kconfig"
 
-source "arch/arm/Kconfig.instrumentation"
+source "kernel/Kconfig.instrumentation"
 
 source "arch/arm/Kconfig.debug"