diff options
author | Jacob Pan <jacob.jun.pan@linux.intel.com> | 2019-04-25 10:27:52 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-04-25 20:54:21 +0200 |
commit | 6eb4f08293e971cb1b7b867c7fe994c244b91460 (patch) | |
tree | 2edc5836f4d655f976bbe965b5aac3128beb1e9e /drivers/cpuidle | |
parent | 085b7755808aa11f78ab9377257e1dad2e6fa4bb (diff) | |
download | linux-6eb4f08293e971cb1b7b867c7fe994c244b91460.tar.bz2 |
x86/apic: Unify duplicated local apic timer clockevent initialization
Local APIC timer clockevent parameters can be calculated based on platform
specific methods. However the code is mostly duplicated with the interrupt
based calibration. The commit which increased the max_delta parameter
updated only one place and made the implementations diverge.
Unify it to prevent further damage.
[ tglx: Rename function to lapic_init_clockevent() and adjust changelog a bit ]
Fixes: 4aed89d6b515 ("x86, lapic-timer: Increase the max_delta to 31 bits")
Reported-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Len Brown <lenb@kernel.org>
Link: https://lkml.kernel.org/r/1556213272-63568-1-git-send-email-jacob.jun.pan@linux.intel.com
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions