提交 c6e9f42b 编写于 作者: P Peter Zijlstra 提交者: 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: NPeter Zijlstra (Intel) <peterz@infradead.org>
Cc: kevin.b.stanton@intel.com
Link: http://lkml.kernel.org/r/20170531155305.989808008@infradead.orgSigned-off-by: NThomas Gleixner <tglx@linutronix.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册