x86/hpet: Move clockevents into channels
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2019 13:24:03 +0000 (15:24 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 27 Jun 2019 22:57:24 +0000 (00:57 +0200)
commit4d5e68330df4e79633bcde2bebcbfed1ba0421d5
treeaf21da5979c7696585c0b100505a2534e8842522
parentd415c7543140f77fe1d2d9d3942cbf51a9737993
x86/hpet: Move clockevents into channels

Instead of allocating yet another data structure, move the clock event data
into the channel structure. This allows further consolidation of the
reservation code and the reuse of the cached boot config to replace the
extra flags in the clockevent data.

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.185851116@linutronix.de
arch/x86/include/asm/hpet.h
arch/x86/kernel/apic/msi.c
arch/x86/kernel/hpet.c