diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2006-12-17 18:59:10 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-12-17 19:14:54 -0500 |
commit | 99e4a6dda9dc4b863773c0a5857b762474b817cf (patch) | |
tree | 2e2250c0612ba46ce848b629e8f985a4882adc4b /arch | |
parent | 9bcb533c1338813085b0a35a6dd0887eb5a5af67 (diff) |
[ARM] 4054/1: ep93xx: add HWCAP_CRUNCH
Add HWCAP_CRUNCH so that the dynamic linker knows whether it can
use Crunch-optimised libraries or not.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/setup.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-ep93xx/core.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index cf2bd4242803..bbab134cd82d 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -855,6 +855,7 @@ static const char *hwcap_str[] = { | |||
855 | "edsp", | 855 | "edsp", |
856 | "java", | 856 | "java", |
857 | "iwmmxt", | 857 | "iwmmxt", |
858 | "crunch", | ||
858 | NULL | 859 | NULL |
859 | }; | 860 | }; |
860 | 861 | ||
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c index d649b39711d4..6b26346191c0 100644 --- a/arch/arm/mach-ep93xx/core.c +++ b/arch/arm/mach-ep93xx/core.c | |||
@@ -477,4 +477,8 @@ void __init ep93xx_init_devices(void) | |||
477 | 477 | ||
478 | platform_device_register(&ep93xx_rtc_device); | 478 | platform_device_register(&ep93xx_rtc_device); |
479 | platform_device_register(&ep93xx_ohci_device); | 479 | platform_device_register(&ep93xx_ohci_device); |
480 | |||
481 | #ifdef CONFIG_CRUNCH | ||
482 | elf_hwcap |= HWCAP_CRUNCH; | ||
483 | #endif | ||
480 | } | 484 | } |