diff options
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4b1a8e3d292c..36176f40dfdf 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -10,6 +10,8 @@ config ARM | |||
10 | default y | 10 | default y |
11 | select RTC_LIB | 11 | select RTC_LIB |
12 | select SYS_SUPPORTS_APM_EMULATION | 12 | select SYS_SUPPORTS_APM_EMULATION |
13 | select HAVE_OPROFILE | ||
14 | select HAVE_KPROBES if (!XIP_KERNEL) | ||
13 | help | 15 | help |
14 | The ARM series is a line of low-power-consumption RISC chip designs | 16 | The ARM series is a line of low-power-consumption RISC chip designs |
15 | licensed by ARM Ltd and targeted at embedded applications and | 17 | licensed by ARM Ltd and targeted at embedded applications and |
@@ -135,6 +137,23 @@ config FIQ | |||
135 | config ARCH_MTD_XIP | 137 | config ARCH_MTD_XIP |
136 | bool | 138 | bool |
137 | 139 | ||
140 | if OPROFILE | ||
141 | |||
142 | config OPROFILE_ARMV6 | ||
143 | def_bool y | ||
144 | depends on CPU_V6 && !SMP | ||
145 | select OPROFILE_ARM11_CORE | ||
146 | |||
147 | config OPROFILE_MPCORE | ||
148 | def_bool y | ||
149 | depends on CPU_V6 && SMP | ||
150 | select OPROFILE_ARM11_CORE | ||
151 | |||
152 | config OPROFILE_ARM11_CORE | ||
153 | bool | ||
154 | |||
155 | endif | ||
156 | |||
138 | config VECTORS_BASE | 157 | config VECTORS_BASE |
139 | hex | 158 | hex |
140 | default 0xffff0000 if MMU || CPU_HIGH_VECTOR | 159 | default 0xffff0000 if MMU || CPU_HIGH_VECTOR |
@@ -1128,8 +1147,6 @@ endmenu | |||
1128 | 1147 | ||
1129 | source "fs/Kconfig" | 1148 | source "fs/Kconfig" |
1130 | 1149 | ||
1131 | source "arch/arm/Kconfig.instrumentation" | ||
1132 | |||
1133 | source "arch/arm/Kconfig.debug" | 1150 | source "arch/arm/Kconfig.debug" |
1134 | 1151 | ||
1135 | source "security/Kconfig" | 1152 | source "security/Kconfig" |