x86/apic: Rename 'lapic_timer_frequency' to 'lapic_timer_period'
authorDaniel Drake <drake@endlessm.com>
Thu, 9 May 2019 05:54:16 +0000 (13:54 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 9 May 2019 09:06:49 +0000 (11:06 +0200)
commit52ae346bd26c7a8b17ea82e9a09671e98c5402b7
tree3b892467cb3fee769f33e8414ca974bc62e0329e
parent604dc9170f2435d27da5039a3efd757dceadc684
x86/apic: Rename 'lapic_timer_frequency' to 'lapic_timer_period'

This variable is a period unit (number of clock cycles per jiffy),
not a frequency (which is number of cycles per second).

Give it a more appropriate name.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Daniel Drake <drake@endlessm.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: len.brown@intel.com
Cc: linux@endlessm.com
Cc: rafael.j.wysocki@intel.com
Link: http://lkml.kernel.org/r/20190509055417.13152-2-drake@endlessm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c
arch/x86/kernel/cpu/mshyperv.c
arch/x86/kernel/cpu/vmware.c
arch/x86/kernel/jailhouse.c
arch/x86/kernel/tsc_msr.c