diff options
author | Peter Zijlstra <peterz@infradead.org> | 2017-05-31 11:52:02 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2017-06-04 15:55:52 -0400 |
commit | c6e9f42bbeecbc10cd4fbcca474b5859aba1de67 (patch) | |
tree | dfce9cd831a23e8baf113f7009332b7771ac6d9b /arch/x86/kernel/apic/apic.c | |
parent | 3c06e6cbdb6a3faa73fbdfd9022e23f82d24c372 (diff) |
x86/apic: Change the lapic name in deadline mode
So that we can more easily see in what mode the lapic timer operates.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: kevin.b.stanton@intel.com
Link: http://lkml.kernel.org/r/20170531155305.989808008@infradead.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/apic/apic.c')
-rw-r--r-- | arch/x86/kernel/apic/apic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c index 2d75faf743f2..87d721a1f3cc 100644 --- a/arch/x86/kernel/apic/apic.c +++ b/arch/x86/kernel/apic/apic.c | |||
@@ -563,6 +563,7 @@ static void setup_APIC_timer(void) | |||
563 | levt->cpumask = cpumask_of(smp_processor_id()); | 563 | levt->cpumask = cpumask_of(smp_processor_id()); |
564 | 564 | ||
565 | if (this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) { | 565 | if (this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) { |
566 | levt->name = "lapic-deadline"; | ||
566 | levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC | | 567 | levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC | |
567 | CLOCK_EVT_FEAT_DUMMY); | 568 | CLOCK_EVT_FEAT_DUMMY); |
568 | levt->set_next_event = lapic_next_deadline; | 569 | levt->set_next_event = lapic_next_deadline; |