diff options
author | Daniel Drake <drake@endlessm.com> | 2019-05-09 13:54:16 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-05-09 11:06:49 +0200 |
commit | 52ae346bd26c7a8b17ea82e9a09671e98c5402b7 (patch) | |
tree | 3b892467cb3fee769f33e8414ca974bc62e0329e /arch/x86/kernel/jailhouse.c | |
parent | 604dc9170f2435d27da5039a3efd757dceadc684 (diff) | |
download | linux-stable-52ae346bd26c7a8b17ea82e9a09671e98c5402b7.tar.gz linux-stable-52ae346bd26c7a8b17ea82e9a09671e98c5402b7.tar.bz2 linux-stable-52ae346bd26c7a8b17ea82e9a09671e98c5402b7.zip |
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>
Diffstat (limited to 'arch/x86/kernel/jailhouse.c')
-rw-r--r-- | arch/x86/kernel/jailhouse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/jailhouse.c b/arch/x86/kernel/jailhouse.c index 1b2ee55a2dfb..ba95bc70460d 100644 --- a/arch/x86/kernel/jailhouse.c +++ b/arch/x86/kernel/jailhouse.c @@ -45,7 +45,7 @@ static void jailhouse_get_wallclock(struct timespec64 *now) static void __init jailhouse_timer_init(void) { - lapic_timer_frequency = setup_data.apic_khz * (1000 / HZ); + lapic_timer_period = setup_data.apic_khz * (1000 / HZ); } static unsigned long jailhouse_get_tsc(void) |