Commit e7b14085 authored by Deepak Saxena's avatar Deepak Saxena

[ARM] More minor IXP2000 cleanups

- Cleanup arch_idle()

- Remove unused external_fault variable in mach-ixp2000/pci.c 
  leftover from older kernel version

- Fix  __setup("ixdp2x01_clock", ixdp2x01_clock_setup) to be 
  "ixdp2x01_clock="
Signed-off-by: default avatarDeepak Saxena <dsaxena@plexity.net>
parent f787fee2
...@@ -191,7 +191,7 @@ static int __init ixdp2x01_clock_setup(char *str) ...@@ -191,7 +191,7 @@ static int __init ixdp2x01_clock_setup(char *str)
return 1; return 1;
} }
__setup("ixdp2x01_clock", ixdp2x01_clock_setup); __setup("ixdp2x01_clock=", ixdp2x01_clock_setup);
static void __init ixdp2x01_init_time(void) static void __init ixdp2x01_init_time(void)
{ {
......
...@@ -33,8 +33,6 @@ ...@@ -33,8 +33,6 @@
#include <asm/mach/pci.h> #include <asm/mach/pci.h>
extern int (*external_fault) (unsigned long, struct pt_regs *);
static int pci_master_aborts = 0; static int pci_master_aborts = 0;
static int clear_master_aborts(void); static int clear_master_aborts(void);
......
...@@ -13,16 +13,9 @@ ...@@ -13,16 +13,9 @@
static inline void arch_idle(void) static inline void arch_idle(void)
{ {
#if 0 cpu_do_idle();
while (!current->need_resched && !hlt_counter) {
cpu_do_idle(IDLE_CLOCK_SLOW);
cpu_do_idle(IDLE_WAIT_FAST);
cpu_do_idle(IDLE_CLOCK_FAST);
}
#endif
} }
static inline void arch_reset(char mode) static inline void arch_reset(char mode)
{ {
cli(); cli();
...@@ -39,7 +32,4 @@ static inline void arch_reset(char mode) ...@@ -39,7 +32,4 @@ static inline void arch_reset(char mode)
if (*IXP2000_STRAP_OPTIONS & CFG_PCI_BOOT_HOST) { if (*IXP2000_STRAP_OPTIONS & CFG_PCI_BOOT_HOST) {
*(IXP2000_RESET0) |= (RSTALL); *(IXP2000_RESET0) |= (RSTALL);
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment