Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99e4a6dd authored by Lennert Buytenhek's avatar Lennert Buytenhek Committed by Russell King
Browse files

[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: default avatarLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 9bcb533c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -855,6 +855,7 @@ static const char *hwcap_str[] = {
	"edsp",
	"java",
	"iwmmxt",
	"crunch",
	NULL
};

+4 −0
Original line number Diff line number Diff line
@@ -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
}
+1 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ typedef struct user_fp elf_fpregset_t;
#define HWCAP_EDSP	128
#define HWCAP_JAVA	256
#define HWCAP_IWMMXT	512
#define HWCAP_CRUNCH	1024

#ifdef __KERNEL__
#ifndef __ASSEMBLY__