Skip to content

Commit

Permalink
[ARM] 4121/1: ep93xx: move setting of HWCAP_CRUNCH
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lennert Buytenhek authored and Russell King committed Feb 8, 2007
1 parent 51dd249 commit fac105d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions arch/arm/kernel/crunch.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 0 additions & 4 deletions arch/arm/mach-ep93xx/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,4 @@ 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
}

0 comments on commit fac105d

Please sign in to comment.