提交 fac105d0 编写于 作者: L Lennert Buytenhek 提交者: Russell King

[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: NLennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 51dd249e
...@@ -75,6 +75,7 @@ static struct notifier_block crunch_notifier_block = { ...@@ -75,6 +75,7 @@ static struct notifier_block crunch_notifier_block = {
static int __init crunch_init(void) static int __init crunch_init(void)
{ {
thread_register_notifier(&crunch_notifier_block); thread_register_notifier(&crunch_notifier_block);
elf_hwcap |= HWCAP_CRUNCH;
return 0; return 0;
} }
......
...@@ -475,8 +475,4 @@ void __init ep93xx_init_devices(void) ...@@ -475,8 +475,4 @@ void __init ep93xx_init_devices(void)
platform_device_register(&ep93xx_rtc_device); platform_device_register(&ep93xx_rtc_device);
platform_device_register(&ep93xx_ohci_device); platform_device_register(&ep93xx_ohci_device);
#ifdef CONFIG_CRUNCH
elf_hwcap |= HWCAP_CRUNCH;
#endif
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册