]> git.karo-electronics.de Git - karo-tx-linux.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)
commit7bd867dfb4e0357e06a3211ab2bd0e714110def3
treefb66f4944f655ba594a7ae98f640e2310a389559
parent54e2603f1a85b9725aa13518d69148b6e7061aa9
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