summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/crunch.c
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2007-02-05 00:35:37 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-08 14:48:13 +0000
commitfac105d05e4b410c586de55dfbf34f40a95f6977 (patch)
tree66fcf4e0b580b0334a0bb676c8390c94966afbc8 /arch/arm/kernel/crunch.c
parent51dd249eff28924f838a72a50c417b2089e0f6a9 (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/kernel/crunch.c')
-rw-r--r--arch/arm/kernel/crunch.c1
1 files changed, 1 insertions, 0 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 = {
static int __init crunch_init(void)
{
thread_register_notifier(&crunch_notifier_block);
+ elf_hwcap |= HWCAP_CRUNCH;
return 0;
}