x86/platform: Add a wallclock_init func to x86_init.timers ops
authorFeng Tang <feng.tang@intel.com>
Mon, 14 Feb 2011 16:13:31 +0000 (00:13 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 14 Feb 2011 17:20:43 +0000 (18:20 +0100)
commit6b617e224dfac0b64ed70dacdac50be6eb78a6a1
tree6c7f45ab80c5c6d8f9005b12ad45c182c9b9f449
parent991cfffa7c19aa648546aff666595af896e568ba
x86/platform: Add a wallclock_init func to x86_init.timers ops

Some wall clock devices use MMIO based HW register, this new
function will give them a chance to do some initialization work
before their get/set_time service get called, which is usually
in early kernel boot phase.

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/x86_init.h
arch/x86/kernel/setup.c
arch/x86/kernel/x86_init.c