]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Move get/set_wallclock to x86_platform_ops
authorFeng Tang <feng.tang@intel.com>
Thu, 10 Sep 2009 02:48:56 +0000 (10:48 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 16 Sep 2009 12:34:50 +0000 (14:34 +0200)
commit92947b66cecdf1b5314bf9448ad042251ef166e5
treefb66f4944f655ba594a7ae98f640e2310a389559
parent98c4957063595ef64d3d7a1f79e909dbc57f7ff6
x86: Move get/set_wallclock to x86_platform_ops

get/set_wallclock() have already a set of platform dependent
implementations (default, EFI, paravirt). MRST will add another
variant.

Moving them to platform ops simplifies the existing code and minimizes
the effort to integrate new variants.

Signed-off-by: Feng Tang <feng.tang@intel.com>
LKML-Reference: <new-submission>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
12 files changed:
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/paravirt_types.h
arch/x86/include/asm/time.h
arch/x86/include/asm/x86_init.h
arch/x86/kernel/efi.c
arch/x86/kernel/kvmclock.c
arch/x86/kernel/paravirt.c
arch/x86/kernel/rtc.c
arch/x86/kernel/vmi_32.c
arch/x86/kernel/x86_init.c
arch/x86/lguest/boot.c
arch/x86/xen/enlighten.c