diff options
Diffstat (limited to 'arch/x86/kernel/apic.c')
-rw-r--r-- | arch/x86/kernel/apic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/apic.c b/arch/x86/kernel/apic.c index b5229affb95..6107b41da9a 100644 --- a/arch/x86/kernel/apic.c +++ b/arch/x86/kernel/apic.c | |||
@@ -142,7 +142,7 @@ static int lapic_next_event(unsigned long delta, | |||
142 | struct clock_event_device *evt); | 142 | struct clock_event_device *evt); |
143 | static void lapic_timer_setup(enum clock_event_mode mode, | 143 | static void lapic_timer_setup(enum clock_event_mode mode, |
144 | struct clock_event_device *evt); | 144 | struct clock_event_device *evt); |
145 | static void lapic_timer_broadcast(cpumask_t mask); | 145 | static void lapic_timer_broadcast(const struct cpumask *mask); |
146 | static void apic_pm_activate(void); | 146 | static void apic_pm_activate(void); |
147 | 147 | ||
148 | /* | 148 | /* |
@@ -455,10 +455,10 @@ static void lapic_timer_setup(enum clock_event_mode mode, | |||
455 | /* | 455 | /* |
456 | * Local APIC timer broadcast function | 456 | * Local APIC timer broadcast function |
457 | */ | 457 | */ |
458 | static void lapic_timer_broadcast(cpumask_t mask) | 458 | static void lapic_timer_broadcast(const struct cpumask *mask) |
459 | { | 459 | { |
460 | #ifdef CONFIG_SMP | 460 | #ifdef CONFIG_SMP |
461 | send_IPI_mask(mask, LOCAL_TIMER_VECTOR); | 461 | send_IPI_mask(*mask, LOCAL_TIMER_VECTOR); |
462 | #endif | 462 | #endif |
463 | } | 463 | } |
464 | 464 | ||
@@ -471,7 +471,7 @@ static void __cpuinit setup_APIC_timer(void) | |||
471 | struct clock_event_device *levt = &__get_cpu_var(lapic_events); | 471 | struct clock_event_device *levt = &__get_cpu_var(lapic_events); |
472 | 472 | ||
473 | memcpy(levt, &lapic_clockevent, sizeof(*levt)); | 473 | memcpy(levt, &lapic_clockevent, sizeof(*levt)); |
474 | levt->cpumask = cpumask_of_cpu(smp_processor_id()); | 474 | levt->cpumask = cpumask_of(smp_processor_id()); |
475 | 475 | ||
476 | clockevents_register_device(levt); | 476 | clockevents_register_device(levt); |
477 | } | 477 | } |