aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/kernel/crunch.c1
-rw-r--r--arch/arm/mach-ep93xx/core.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/kernel/crunch.c b/arch/arm/kernel/crunch.c
index cec83783206e..627d79414c9d 100644
--- a/arch/arm/kernel/crunch.c
+++ b/arch/arm/kernel/crunch.c
@@ -75,6 +75,7 @@ static struct notifier_block crunch_notifier_block = {
75static int __init crunch_init(void) 75static int __init crunch_init(void)
76{ 76{
77 thread_register_notifier(&crunch_notifier_block); 77 thread_register_notifier(&crunch_notifier_block);
78 elf_hwcap |= HWCAP_CRUNCH;
78 79
79 return 0; 80 return 0;
80} 81}
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c
index 913ea4328b2f..5d2739abd960 100644
--- a/arch/arm/mach-ep93xx/core.c
+++ b/arch/arm/mach-ep93xx/core.c
@@ -475,8 +475,4 @@ void __init ep93xx_init_devices(void)
475 475
476 platform_device_register(&ep93xx_rtc_device); 476 platform_device_register(&ep93xx_rtc_device);
477 platform_device_register(&ep93xx_ohci_device); 477 platform_device_register(&ep93xx_ohci_device);
478
479#ifdef CONFIG_CRUNCH
480 elf_hwcap |= HWCAP_CRUNCH;
481#endif
482} 478}