diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2007-02-04 18:35:37 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-02-08 09:48:13 -0500 |
commit | fac105d05e4b410c586de55dfbf34f40a95f6977 (patch) | |
tree | 66fcf4e0b580b0334a0bb676c8390c94966afbc8 /arch/arm | |
parent | 51dd249eff28924f838a72a50c417b2089e0f6a9 (diff) |
[ARM] 4121/1: ep93xx: move setting of HWCAP_CRUNCH
Move the setting of HWCAP_CRUNCH to kernel/crunch.c, where it belongs.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/kernel/crunch.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-ep93xx/core.c | 4 |
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 = { | |||
75 | static int __init crunch_init(void) | 75 | static 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 | } |