diff options
Diffstat (limited to 'arch/x86/kernel/x86_init.c')
-rw-r--r-- | arch/x86/kernel/x86_init.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/kernel/x86_init.c b/arch/x86/kernel/x86_init.c index 4449a4a2c2ed..ccd179dec36e 100644 --- a/arch/x86/kernel/x86_init.c +++ b/arch/x86/kernel/x86_init.c | |||
@@ -13,11 +13,15 @@ | |||
13 | #include <asm/e820.h> | 13 | #include <asm/e820.h> |
14 | #include <asm/time.h> | 14 | #include <asm/time.h> |
15 | #include <asm/irq.h> | 15 | #include <asm/irq.h> |
16 | #include <asm/pat.h> | ||
16 | #include <asm/tsc.h> | 17 | #include <asm/tsc.h> |
18 | #include <asm/iommu.h> | ||
17 | 19 | ||
18 | void __cpuinit x86_init_noop(void) { } | 20 | void __cpuinit x86_init_noop(void) { } |
19 | void __init x86_init_uint_noop(unsigned int unused) { } | 21 | void __init x86_init_uint_noop(unsigned int unused) { } |
20 | void __init x86_init_pgd_noop(pgd_t *unused) { } | 22 | void __init x86_init_pgd_noop(pgd_t *unused) { } |
23 | int __init iommu_init_noop(void) { return 0; } | ||
24 | void iommu_shutdown_noop(void) { } | ||
21 | 25 | ||
22 | /* | 26 | /* |
23 | * The platform setup functions are preset with the default functions | 27 | * The platform setup functions are preset with the default functions |
@@ -62,6 +66,10 @@ struct x86_init_ops x86_init __initdata = { | |||
62 | .tsc_pre_init = x86_init_noop, | 66 | .tsc_pre_init = x86_init_noop, |
63 | .timer_init = hpet_time_init, | 67 | .timer_init = hpet_time_init, |
64 | }, | 68 | }, |
69 | |||
70 | .iommu = { | ||
71 | .iommu_init = iommu_init_noop, | ||
72 | }, | ||
65 | }; | 73 | }; |
66 | 74 | ||
67 | struct x86_cpuinit_ops x86_cpuinit __cpuinitdata = { | 75 | struct x86_cpuinit_ops x86_cpuinit __cpuinitdata = { |
@@ -72,4 +80,6 @@ struct x86_platform_ops x86_platform = { | |||
72 | .calibrate_tsc = native_calibrate_tsc, | 80 | .calibrate_tsc = native_calibrate_tsc, |
73 | .get_wallclock = mach_get_cmos_time, | 81 | .get_wallclock = mach_get_cmos_time, |
74 | .set_wallclock = mach_set_rtc_mmss, | 82 | .set_wallclock = mach_set_rtc_mmss, |
83 | .iommu_shutdown = iommu_shutdown_noop, | ||
84 | .is_untracked_pat_range = is_ISA_range, | ||
75 | }; | 85 | }; |