From: Peter Zijlstra Date: Wed, 31 May 2017 15:52:02 +0000 (+0200) Subject: x86/apic: Change the lapic name in deadline mode X-Git-Tag: v4.13-rc1~188^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c6e9f42bbeecbc10cd4fbcca474b5859aba1de67;p=karo-tx-linux.git 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) Cc: kevin.b.stanton@intel.com Link: http://lkml.kernel.org/r/20170531155305.989808008@infradead.org Signed-off-by: Thomas Gleixner --- 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) 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;