Skip to content

Commit c6e9f42

Browse files
Peter ZijlstraKAGA-KOKO
authored andcommitted
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>
1 parent 3c06e6c commit c6e9f42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/kernel/apic/apic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,7 @@ static void setup_APIC_timer(void)
563563
levt->cpumask = cpumask_of(smp_processor_id());
564564

565565
if (this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) {
566+
levt->name = "lapic-deadline";
566567
levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC |
567568
CLOCK_EVT_FEAT_DUMMY);
568569
levt->set_next_event = lapic_next_deadline;

0 commit comments

Comments
 (0)