diff options
Diffstat (limited to 'arch/arm/kernel/setup.c')
-rw-r--r-- | arch/arm/kernel/setup.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index b7cd280bfd63..8cff73e668b3 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -252,6 +252,9 @@ static void __init dump_cpu_info(int cpu) | |||
252 | dump_cache("cache", cpu, CACHE_ISIZE(info)); | 252 | dump_cache("cache", cpu, CACHE_ISIZE(info)); |
253 | } | 253 | } |
254 | } | 254 | } |
255 | |||
256 | if (arch_is_coherent()) | ||
257 | printk("Cache coherency enabled\n"); | ||
255 | } | 258 | } |
256 | 259 | ||
257 | int cpu_architecture(void) | 260 | int cpu_architecture(void) |
@@ -319,6 +322,12 @@ static void __init setup_processor(void) | |||
319 | sprintf(system_utsname.machine, "%s%c", list->arch_name, ENDIANNESS); | 322 | sprintf(system_utsname.machine, "%s%c", list->arch_name, ENDIANNESS); |
320 | sprintf(elf_platform, "%s%c", list->elf_name, ENDIANNESS); | 323 | sprintf(elf_platform, "%s%c", list->elf_name, ENDIANNESS); |
321 | elf_hwcap = list->elf_hwcap; | 324 | elf_hwcap = list->elf_hwcap; |
325 | #ifndef CONFIG_ARM_THUMB | ||
326 | elf_hwcap &= ~HWCAP_THUMB; | ||
327 | #endif | ||
328 | #ifndef CONFIG_VFP | ||
329 | elf_hwcap &= ~HWCAP_VFP; | ||
330 | #endif | ||
322 | 331 | ||
323 | cpu_proc_init(); | 332 | cpu_proc_init(); |
324 | } | 333 | } |