diff options
author | Feng Tang <feng.tang@intel.com> | 2011-02-15 00:13:32 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2011-02-14 18:20:43 +0100 |
commit | 168202c7bf89d7a2abaf8deaf4bbed18a1f7b3a3 (patch) | |
tree | 7be510d8fcbc1c68582d1b3a64971e8a59e3d798 /arch/x86/platform/mrst/mrst.c | |
parent | 6b617e224dfac0b64ed70dacdac50be6eb78a6a1 (diff) | |
download | op-kernel-dev-168202c7bf89d7a2abaf8deaf4bbed18a1f7b3a3.zip op-kernel-dev-168202c7bf89d7a2abaf8deaf4bbed18a1f7b3a3.tar.gz |
mrst/vrtc: Avoid using cmos rtc ops
If we don't assign Moorestown specific wallclock init and ops function
the rtc/persisent clock code will use cmos rtc for access, this will
crash Moorestown in that the ioports are not present.
Also in vrtc driver, should avoid using cmos access to check UIP status.
[feng.tang@intel.com: use set_fixmap_offset_nocache() to simplify code]
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/platform/mrst/mrst.c')
-rw-r--r-- | arch/x86/platform/mrst/mrst.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/platform/mrst/mrst.c b/arch/x86/platform/mrst/mrst.c index fee0b49..4c542c7 100644 --- a/arch/x86/platform/mrst/mrst.c +++ b/arch/x86/platform/mrst/mrst.c @@ -31,6 +31,7 @@ #include <asm/apic.h> #include <asm/io_apic.h> #include <asm/mrst.h> +#include <asm/mrst-vrtc.h> #include <asm/io.h> #include <asm/i8259.h> #include <asm/intel_scu_ipc.h> @@ -294,6 +295,7 @@ void __init x86_mrst_early_setup(void) x86_platform.calibrate_tsc = mrst_calibrate_tsc; x86_platform.i8042_detect = mrst_i8042_detect; + x86_init.timers.wallclock_init = mrst_rtc_init; x86_init.pci.init = pci_mrst_init; x86_init.pci.fixup_irqs = x86_init_noop; |