aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/apic/apic.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-04-17 10:18:22 -0400
committerIngo Molnar <mingo@elte.hu>2009-04-17 10:18:28 -0400
commit5043124e660fcc3ddefe4239ddfa017bf13f5081 (patch)
tree06875cdb942afe460dbac33acf3e8223c805a35d /arch/x86/kernel/apic/apic.c
parent77857dc07247ed5fa700a197c96ef842d8dbebdf (diff)
parent9f76208c33984ab777eace5d07a4e36e88703e02 (diff)
Merge branch 'linus' into x86/apic
Merge reason: new intr-remap patches depend on the s2ram iommu fixes from upstream Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic/apic.c')
-rw-r--r--arch/x86/kernel/apic/apic.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c
index 4b48ff9163ca..83e47febcc89 100644
--- a/arch/x86/kernel/apic/apic.c
+++ b/arch/x86/kernel/apic/apic.c
@@ -472,6 +472,12 @@ static void __cpuinit setup_APIC_timer(void)
472{ 472{
473 struct clock_event_device *levt = &__get_cpu_var(lapic_events); 473 struct clock_event_device *levt = &__get_cpu_var(lapic_events);
474 474
475 if (cpu_has(&current_cpu_data, X86_FEATURE_ARAT)) {
476 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_C3STOP;
477 /* Make LAPIC timer preferrable over percpu HPET */
478 lapic_clockevent.rating = 150;
479 }
480
475 memcpy(levt, &lapic_clockevent, sizeof(*levt)); 481 memcpy(levt, &lapic_clockevent, sizeof(*levt));
476 levt->cpumask = cpumask_of(smp_processor_id()); 482 levt->cpumask = cpumask_of(smp_processor_id());
477 483