diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-08-14 06:19:59 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-08-14 06:19:59 -0400 |
| commit | 8d7ccaa545490cdffdfaff0842436a8dd85cf47b (patch) | |
| tree | 8129b5907161bc6ae26deb3645ce1e280c5e1f51 /kernel/softirq.c | |
| parent | b2139aa0eec330c711c5a279db361e5ef1178e78 (diff) | |
| parent | 30a2f3c60a84092c8084dfe788b710f8d0768cd4 (diff) | |
Merge commit 'v2.6.27-rc3' into x86/prototypes
Conflicts:
include/asm-x86/dma-mapping.h
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/softirq.c')
| -rw-r--r-- | kernel/softirq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 81e2fe0f983a..c506f266a6b9 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
| @@ -286,7 +286,7 @@ void irq_exit(void) | |||
| 286 | #ifdef CONFIG_NO_HZ | 286 | #ifdef CONFIG_NO_HZ |
| 287 | /* Make sure that timer wheel updates are propagated */ | 287 | /* Make sure that timer wheel updates are propagated */ |
| 288 | if (!in_interrupt() && idle_cpu(smp_processor_id()) && !need_resched()) | 288 | if (!in_interrupt() && idle_cpu(smp_processor_id()) && !need_resched()) |
| 289 | tick_nohz_stop_sched_tick(); | 289 | tick_nohz_stop_sched_tick(0); |
| 290 | rcu_irq_exit(); | 290 | rcu_irq_exit(); |
| 291 | #endif | 291 | #endif |
| 292 | preempt_enable_no_resched(); | 292 | preempt_enable_no_resched(); |
| @@ -630,7 +630,7 @@ static struct notifier_block __cpuinitdata cpu_nfb = { | |||
| 630 | .notifier_call = cpu_callback | 630 | .notifier_call = cpu_callback |
| 631 | }; | 631 | }; |
| 632 | 632 | ||
| 633 | __init int spawn_ksoftirqd(void) | 633 | static __init int spawn_ksoftirqd(void) |
| 634 | { | 634 | { |
| 635 | void *cpu = (void *)(long)smp_processor_id(); | 635 | void *cpu = (void *)(long)smp_processor_id(); |
| 636 | int err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu); | 636 | int err = cpu_callback(&cpu_nfb, CPU_UP_PREPARE, cpu); |
| @@ -640,6 +640,7 @@ __init int spawn_ksoftirqd(void) | |||
| 640 | register_cpu_notifier(&cpu_nfb); | 640 | register_cpu_notifier(&cpu_nfb); |
| 641 | return 0; | 641 | return 0; |
| 642 | } | 642 | } |
| 643 | early_initcall(spawn_ksoftirqd); | ||
| 643 | 644 | ||
| 644 | #ifdef CONFIG_SMP | 645 | #ifdef CONFIG_SMP |
| 645 | /* | 646 | /* |
