x86/hpet: Consolidate clockevent functions
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2019 13:24:06 +0000 (15:24 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 27 Jun 2019 22:57:26 +0000 (00:57 +0200)
commit310b5b3eb6ba5d3a92d783b9fa1c5a3ffb5932e9
treeb2cfef89be0bb4407988e546472571e46f3e1e5a
parent18e84a2dff00c3c817161a105332cd3fc7592648
x86/hpet: Consolidate clockevent functions

Now that the legacy clockevent is wrapped in a hpet_channel struct most
clockevent functions can be shared between the legacy and the MSI based
clockevents.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Andi Kleen <andi.kleen@intel.com>
Cc: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Cc: Ravi Shankar <ravi.v.shankar@intel.com>
Link: https://lkml.kernel.org/r/20190623132436.461437795@linutronix.de
arch/x86/kernel/hpet.c