summaryrefslogtreecommitdiff
path: root/arch/arm/mach-ep93xx
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2006-12-17 23:59:10 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-12-18 00:14:54 (GMT)
commit99e4a6dda9dc4b863773c0a5857b762474b817cf (patch)
tree2e2250c0612ba46ce848b629e8f985a4882adc4b /arch/arm/mach-ep93xx
parent9bcb533c1338813085b0a35a6dd0887eb5a5af67 (diff)
downloadlinux-99e4a6dda9dc4b863773c0a5857b762474b817cf.tar.xz
[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/arm/mach-ep93xx')
-rw-r--r--arch/arm/mach-ep93xx/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c
index d649b39..6b26346 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)
platform_device_register(&ep93xx_rtc_device);
platform_device_register(&ep93xx_ohci_device);
+
+#ifdef CONFIG_CRUNCH
+ elf_hwcap |= HWCAP_CRUNCH;
+#endif
}