diff options
| author | Ingo Molnar <mingo@elte.hu> | 2009-01-05 07:53:39 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-01-05 07:53:39 -0500 |
| commit | 5359c32eb7402124abc9964d5d53639fe0739cea (patch) | |
| tree | d77b6967fe8420678bb9d1d936855ac0699c196a /arch/sh/kernel | |
| parent | 8916edef5888c5d8fe283714416a9ca95b4c3431 (diff) | |
| parent | fe0bdec68b77020281dc814805edfe594ae89e0f (diff) | |
Merge branch 'linus' into sched/urgent
Diffstat (limited to 'arch/sh/kernel')
| -rw-r--r-- | arch/sh/kernel/smp.c | 10 | ||||
| -rw-r--r-- | arch/sh/kernel/timers/timer-broadcast.c | 2 | ||||
| -rw-r--r-- | arch/sh/kernel/timers/timer-tmu.c | 2 |
3 files changed, 4 insertions, 10 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 3c5ad1660bbc..8f4027412614 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c | |||
| @@ -31,12 +31,6 @@ | |||
| 31 | int __cpu_number_map[NR_CPUS]; /* Map physical to logical */ | 31 | int __cpu_number_map[NR_CPUS]; /* Map physical to logical */ |
| 32 | int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */ | 32 | int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */ |
| 33 | 33 | ||
| 34 | cpumask_t cpu_possible_map; | ||
| 35 | EXPORT_SYMBOL(cpu_possible_map); | ||
| 36 | |||
| 37 | cpumask_t cpu_online_map; | ||
| 38 | EXPORT_SYMBOL(cpu_online_map); | ||
| 39 | |||
| 40 | static inline void __init smp_store_cpu_info(unsigned int cpu) | 34 | static inline void __init smp_store_cpu_info(unsigned int cpu) |
| 41 | { | 35 | { |
| 42 | struct sh_cpuinfo *c = cpu_data + cpu; | 36 | struct sh_cpuinfo *c = cpu_data + cpu; |
| @@ -190,11 +184,11 @@ void arch_send_call_function_single_ipi(int cpu) | |||
| 190 | plat_send_ipi(cpu, SMP_MSG_FUNCTION_SINGLE); | 184 | plat_send_ipi(cpu, SMP_MSG_FUNCTION_SINGLE); |
| 191 | } | 185 | } |
| 192 | 186 | ||
| 193 | void smp_timer_broadcast(cpumask_t mask) | 187 | void smp_timer_broadcast(const struct cpumask *mask) |
| 194 | { | 188 | { |
| 195 | int cpu; | 189 | int cpu; |
| 196 | 190 | ||
| 197 | for_each_cpu_mask(cpu, mask) | 191 | for_each_cpu(cpu, mask) |
| 198 | plat_send_ipi(cpu, SMP_MSG_TIMER); | 192 | plat_send_ipi(cpu, SMP_MSG_TIMER); |
| 199 | } | 193 | } |
| 200 | 194 | ||
diff --git a/arch/sh/kernel/timers/timer-broadcast.c b/arch/sh/kernel/timers/timer-broadcast.c index c2317635230f..96e8eaea1e62 100644 --- a/arch/sh/kernel/timers/timer-broadcast.c +++ b/arch/sh/kernel/timers/timer-broadcast.c | |||
| @@ -51,7 +51,7 @@ void __cpuinit local_timer_setup(unsigned int cpu) | |||
| 51 | clk->mult = 1; | 51 | clk->mult = 1; |
| 52 | clk->set_mode = dummy_timer_set_mode; | 52 | clk->set_mode = dummy_timer_set_mode; |
| 53 | clk->broadcast = smp_timer_broadcast; | 53 | clk->broadcast = smp_timer_broadcast; |
| 54 | clk->cpumask = cpumask_of_cpu(cpu); | 54 | clk->cpumask = cpumask_of(cpu); |
| 55 | 55 | ||
| 56 | clockevents_register_device(clk); | 56 | clockevents_register_device(clk); |
| 57 | } | 57 | } |
diff --git a/arch/sh/kernel/timers/timer-tmu.c b/arch/sh/kernel/timers/timer-tmu.c index 3c61ddd4d43e..0db3f9510336 100644 --- a/arch/sh/kernel/timers/timer-tmu.c +++ b/arch/sh/kernel/timers/timer-tmu.c | |||
| @@ -263,7 +263,7 @@ static int tmu_timer_init(void) | |||
| 263 | tmu0_clockevent.min_delta_ns = | 263 | tmu0_clockevent.min_delta_ns = |
| 264 | clockevent_delta2ns(1, &tmu0_clockevent); | 264 | clockevent_delta2ns(1, &tmu0_clockevent); |
| 265 | 265 | ||
| 266 | tmu0_clockevent.cpumask = cpumask_of_cpu(0); | 266 | tmu0_clockevent.cpumask = cpumask_of(0); |
| 267 | 267 | ||
| 268 | clockevents_register_device(&tmu0_clockevent); | 268 | clockevents_register_device(&tmu0_clockevent); |
| 269 | 269 | ||
