OSDN Git Service

x86/hpet: Introduce struct hpet_base and struct hpet_channel
authorThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2019 13:23:58 +0000 (15:23 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 27 Jun 2019 22:57:21 +0000 (00:57 +0200)
commite37f0881e9d9ec8b12f242cc2b78d93259aa7f0f
treeda0c60d587a7b7e7cc06232deac3d4b79448c13f
parent0b5c597de6aa30000480d6add2f37ef7de3f9312
x86/hpet: Introduce struct hpet_base and struct hpet_channel

Introduce new data structures to replace the ad hoc collection of separate
variables and pointers.

Replace the boot configuration store and restore as a first step.

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/20190623132435.728456320@linutronix.de
arch/x86/kernel/hpet.c