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>
This commit is contained in:
parent
3c06e6cbdb
commit
c6e9f42bbe
@ -563,6 +563,7 @@ static void setup_APIC_timer(void)
|
|||||||
levt->cpumask = cpumask_of(smp_processor_id());
|
levt->cpumask = cpumask_of(smp_processor_id());
|
||||||
|
|
||||||
if (this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) {
|
if (this_cpu_has(X86_FEATURE_TSC_DEADLINE_TIMER)) {
|
||||||
|
levt->name = "lapic-deadline";
|
||||||
levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC |
|
levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC |
|
||||||
CLOCK_EVT_FEAT_DUMMY);
|
CLOCK_EVT_FEAT_DUMMY);
|
||||||
levt->set_next_event = lapic_next_deadline;
|
levt->set_next_event = lapic_next_deadline;
|
||||||
|
Loading…
Reference in New Issue
Block a user