]> Pileus Git - ~andy/linux/blobdiff - arch/cris/arch-v32/kernel/process.c
arch: Cleanup enable/disable_hlt
[~andy/linux] / arch / cris / arch-v32 / kernel / process.c
index 2b23ef0e44523f1781ad397533593aae2f9335c7..4857933d59f4eb27bda5b5b75c03b4fbb1bc0aba 100644 (file)
 
 extern void stop_watchdog(void);
 
-extern int cris_hlt_counter;
-
 /* We use this if we don't have any better idle routine. */
 void default_idle(void)
 {
        local_irq_disable();
-       if (!need_resched() && !cris_hlt_counter) {
-               /* Halt until exception. */
+       if (!need_resched()) {
+               /* Halt until exception. */
                __asm__ volatile("ei    \n\t"
-                                 "halt      ");
+                                "halt      ");
        }
        local_irq_enable();
 }