[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>
This commit is contained in:

committed by
Russell King

parent
9bcb533c13
commit
99e4a6dda9
@@ -855,6 +855,7 @@ static const char *hwcap_str[] = {
|
||||
"edsp",
|
||||
"java",
|
||||
"iwmmxt",
|
||||
"crunch",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user