aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/x86_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r--arch/x86/kernel/x86_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c
index 6f164bd5e14d..701c7be442f1 100644
--- a/arch/x86/kernel/x86_init.c
+++ b/arch/x86/kernel/x86_init.c
@@ -27,6 +27,7 @@ void __init x86_init_uint_noop(unsigned int unused) { }
27void __init x86_init_pgd_noop(pgd_t *unused) { } 27void __init x86_init_pgd_noop(pgd_t *unused) { }
28int __init iommu_init_noop(void) { return 0; } 28int __init iommu_init_noop(void) { return 0; }
29void iommu_shutdown_noop(void) { } 29void iommu_shutdown_noop(void) { }
30void wallclock_init_noop(void) { }
30 31
31/* 32/*
32 * The platform setup functions are preset with the default functions 33 * The platform setup functions are preset with the default functions
@@ -97,6 +98,7 @@ static int default_i8042_detect(void) { return 1; };
97 98
98struct x86_platform_ops x86_platform = { 99struct x86_platform_ops x86_platform = {
99 .calibrate_tsc = native_calibrate_tsc, 100 .calibrate_tsc = native_calibrate_tsc,
101 .wallclock_init = wallclock_init_noop,
100 .get_wallclock = mach_get_cmos_time, 102 .get_wallclock = mach_get_cmos_time,
101 .set_wallclock = mach_set_rtc_mmss, 103 .set_wallclock = mach_set_rtc_mmss,
102 .iommu_shutdown = iommu_shutdown_noop, 104 .iommu_shutdown = iommu_shutdown_noop,