diff options
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r-- | arch/parisc/kernel/asm-offsets.c | 1 | ||||
-rw-r--r-- | arch/parisc/kernel/process.c | 4 | ||||
-rw-r--r-- | arch/parisc/kernel/smp.c | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/arch/parisc/kernel/asm-offsets.c b/arch/parisc/kernel/asm-offsets.c index 1ad44f92d6e4..e23c4e1e3a25 100644 --- a/arch/parisc/kernel/asm-offsets.c +++ b/arch/parisc/kernel/asm-offsets.c | |||
@@ -30,7 +30,6 @@ | |||
30 | #include <linux/types.h> | 30 | #include <linux/types.h> |
31 | #include <linux/sched.h> | 31 | #include <linux/sched.h> |
32 | #include <linux/thread_info.h> | 32 | #include <linux/thread_info.h> |
33 | #include <linux/version.h> | ||
34 | #include <linux/ptrace.h> | 33 | #include <linux/ptrace.h> |
35 | #include <linux/hardirq.h> | 34 | #include <linux/hardirq.h> |
36 | 35 | ||
diff --git a/arch/parisc/kernel/process.c b/arch/parisc/kernel/process.c index 7fdca87ef647..fee4f1f09adc 100644 --- a/arch/parisc/kernel/process.c +++ b/arch/parisc/kernel/process.c | |||
@@ -88,11 +88,15 @@ void default_idle(void) | |||
88 | */ | 88 | */ |
89 | void cpu_idle(void) | 89 | void cpu_idle(void) |
90 | { | 90 | { |
91 | set_thread_flag(TIF_POLLING_NRFLAG); | ||
92 | |||
91 | /* endless idle loop with no priority at all */ | 93 | /* endless idle loop with no priority at all */ |
92 | while (1) { | 94 | while (1) { |
93 | while (!need_resched()) | 95 | while (!need_resched()) |
94 | barrier(); | 96 | barrier(); |
97 | preempt_enable_no_resched(); | ||
95 | schedule(); | 98 | schedule(); |
99 | preempt_disable(); | ||
96 | check_pgt_cache(); | 100 | check_pgt_cache(); |
97 | } | 101 | } |
98 | } | 102 | } |
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c index 5db3be4e2704..a9ecf6465784 100644 --- a/arch/parisc/kernel/smp.c +++ b/arch/parisc/kernel/smp.c | |||
@@ -463,6 +463,7 @@ void __init smp_callin(void) | |||
463 | #endif | 463 | #endif |
464 | 464 | ||
465 | smp_cpu_init(slave_id); | 465 | smp_cpu_init(slave_id); |
466 | preempt_disable(); | ||
466 | 467 | ||
467 | #if 0 /* NOT WORKING YET - see entry.S */ | 468 | #if 0 /* NOT WORKING YET - see entry.S */ |
468 | istack = (void *)__get_free_pages(GFP_KERNEL,ISTACK_ORDER); | 469 | istack = (void *)__get_free_pages(GFP_KERNEL,ISTACK_ORDER); |