Commit c6e9f42b authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Thomas Gleixner

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: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Cc: kevin.b.stanton@intel.com
Link: http://lkml.kernel.org/r/20170531155305.989808008@infradead.orgSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 3c06e6cb
......@@ -563,6 +563,7 @@ static void setup_APIC_timer(void)
levt->cpumask = cpumask_of(smp_processor_id());
if (this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) {
levt->name = "lapic-deadline";
levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC |
CLOCK_EVT_FEAT_DUMMY);
levt->set_next_event = lapic_next_deadline;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment