diff options
| -rw-r--r-- | arch/parisc/Kconfig | 1 | ||||
| -rw-r--r-- | arch/parisc/kernel/process.c | 22 | ||||
| -rw-r--r-- | arch/parisc/kernel/smp.c | 2 |
3 files changed, 2 insertions, 23 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 0339181bf3ac..0821e702d03f 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig | |||
| @@ -18,6 +18,7 @@ config PARISC | |||
| 18 | select GENERIC_PCI_IOMAP | 18 | select GENERIC_PCI_IOMAP |
| 19 | select ARCH_HAVE_NMI_SAFE_CMPXCHG | 19 | select ARCH_HAVE_NMI_SAFE_CMPXCHG |
| 20 | select GENERIC_SMP_IDLE_THREAD | 20 | select GENERIC_SMP_IDLE_THREAD |
| 21 | select GENERIC_IDLE_LOOP | ||
| 21 | select GENERIC_STRNCPY_FROM_USER | 22 | select GENERIC_STRNCPY_FROM_USER |
| 22 | select SYSCTL_ARCH_UNALIGN_ALLOW | 23 | select SYSCTL_ARCH_UNALIGN_ALLOW |
| 23 | select HAVE_MOD_ARCH_SPECIFIC | 24 | select HAVE_MOD_ARCH_SPECIFIC |
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index d13507246c5d..55f92b614182 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c | |||
| @@ -59,28 +59,6 @@ | |||
| 59 | #include <asm/unwind.h> | 59 | #include <asm/unwind.h> |
| 60 | #include <asm/sections.h> | 60 | #include <asm/sections.h> |
| 61 | 61 | ||
| 62 | /* | ||
| 63 | * The idle thread. There's no useful work to be | ||
| 64 | * done, so just try to conserve power and have a | ||
| 65 | * low exit latency (ie sit in a loop waiting for | ||
| 66 | * somebody to say that they'd like to reschedule) | ||
| 67 | */ | ||
| 68 | void cpu_idle(void) | ||
| 69 | { | ||
| 70 | set_thread_flag(TIF_POLLING_NRFLAG); | ||
| 71 | |||
| 72 | /* endless idle loop with no priority at all */ | ||
| 73 | while (1) { | ||
| 74 | rcu_idle_enter(); | ||
| 75 | while (!need_resched()) | ||
| 76 | barrier(); | ||
| 77 | rcu_idle_exit(); | ||
| 78 | schedule_preempt_disabled(); | ||
| 79 | check_pgt_cache(); | ||
| 80 | } | ||
| 81 | } | ||
| 82 | |||
| 83 | |||
| 84 | #define COMMAND_GLOBAL F_EXTEND(0xfffe0030) | 62 | #define COMMAND_GLOBAL F_EXTEND(0xfffe0030) |
| 85 | #define CMD_RESET 5 /* reset any module */ | 63 | #define CMD_RESET 5 /* reset any module */ |
| 86 | 64 | ||
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index 6266730efd61..fd1bb1519c2b 100644 --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c | |||
| @@ -329,7 +329,7 @@ void __init smp_callin(void) | |||
| 329 | 329 | ||
| 330 | local_irq_enable(); /* Interrupts have been off until now */ | 330 | local_irq_enable(); /* Interrupts have been off until now */ |
| 331 | 331 | ||
| 332 | cpu_idle(); /* Wait for timer to schedule some work */ | 332 | cpu_startup_entry(CPUHP_ONLINE); |
| 333 | 333 | ||
| 334 | /* NOTREACHED */ | 334 | /* NOTREACHED */ |
| 335 | panic("smp_callin() AAAAaaaaahhhh....\n"); | 335 | panic("smp_callin() AAAAaaaaahhhh....\n"); |
