x86/platform: Add a wallclock_init func to x86_platforms ops
authorFeng Tang <feng.tang@intel.com>
Thu, 10 Nov 2011 13:42:02 +0000 (13:42 +0000)
committerIngo Molnar <mingo@elte.hu>
Thu, 10 Nov 2011 15:20:53 +0000 (16:20 +0100)
commitcf8ff6b6ab0e99dd3058852f4ec76a6140abadec
treee2b004657136004c757d45df0f23bafe97bd46fe
parent66f5ddf30a59f811818656cb2833c80da0340cfa
x86/platform: Add a wallclock_init func to x86_platforms 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.

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: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/x86_init.h
arch/x86/kernel/setup.c
arch/x86/kernel/x86_init.c