diff options
author | Feng Tang <feng.tang@intel.com> | 2011-11-10 14:42:02 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-11-10 16:20:53 +0100 |
commit | cf8ff6b6ab0e99dd3058852f4ec76a6140abadec (patch) | |
tree | e2b004657136004c757d45df0f23bafe97bd46fe /arch/x86/kernel/setup.c | |
parent | x86/mce: Make mce_chrdev_ops 'static const' (diff) | |
download | linux-cf8ff6b6ab0e99dd3058852f4ec76a6140abadec.tar.xz linux-cf8ff6b6ab0e99dd3058852f4ec76a6140abadec.zip |
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>
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index afaf38447ef5..cf0ef986cb6d 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -1045,6 +1045,8 @@ void __init setup_arch(char **cmdline_p) x86_init.timers.wallclock_init(); + x86_platform.wallclock_init(); + mcheck_init(); arch_init_ideal_nops(); |