diff options
Diffstat (limited to 'arch/x86/platform/ce4100/ce4100.c')
-rw-r--r-- | arch/x86/platform/ce4100/ce4100.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/arch/x86/platform/ce4100/ce4100.c b/arch/x86/platform/ce4100/ce4100.c index 8244f5ec2f4c..701fd5843c87 100644 --- a/arch/x86/platform/ce4100/ce4100.c +++ b/arch/x86/platform/ce4100/ce4100.c | |||
@@ -135,14 +135,10 @@ static void __init sdv_arch_setup(void) | |||
135 | sdv_serial_fixup(); | 135 | sdv_serial_fixup(); |
136 | } | 136 | } |
137 | 137 | ||
138 | #ifdef CONFIG_X86_IO_APIC | ||
139 | static void sdv_pci_init(void) | 138 | static void sdv_pci_init(void) |
140 | { | 139 | { |
141 | x86_of_pci_init(); | 140 | x86_of_pci_init(); |
142 | /* We can't set this earlier, because we need to calibrate the timer */ | ||
143 | legacy_pic = &null_legacy_pic; | ||
144 | } | 141 | } |
145 | #endif | ||
146 | 142 | ||
147 | /* | 143 | /* |
148 | * CE4100 specific x86_init function overrides and early setup | 144 | * CE4100 specific x86_init function overrides and early setup |
@@ -155,7 +151,9 @@ void __init x86_ce4100_early_setup(void) | |||
155 | x86_init.resources.probe_roms = x86_init_noop; | 151 | x86_init.resources.probe_roms = x86_init_noop; |
156 | x86_init.mpparse.get_smp_config = x86_init_uint_noop; | 152 | x86_init.mpparse.get_smp_config = x86_init_uint_noop; |
157 | x86_init.mpparse.find_smp_config = x86_init_noop; | 153 | x86_init.mpparse.find_smp_config = x86_init_noop; |
154 | x86_init.mpparse.setup_ioapic_ids = setup_ioapic_ids_from_mpc_nocheck; | ||
158 | x86_init.pci.init = ce4100_pci_init; | 155 | x86_init.pci.init = ce4100_pci_init; |
156 | x86_init.pci.init_irq = sdv_pci_init; | ||
159 | 157 | ||
160 | /* | 158 | /* |
161 | * By default, the reboot method is ACPI which is supported by the | 159 | * By default, the reboot method is ACPI which is supported by the |
@@ -166,10 +164,5 @@ void __init x86_ce4100_early_setup(void) | |||
166 | */ | 164 | */ |
167 | reboot_type = BOOT_KBD; | 165 | reboot_type = BOOT_KBD; |
168 | 166 | ||
169 | #ifdef CONFIG_X86_IO_APIC | ||
170 | x86_init.pci.init_irq = sdv_pci_init; | ||
171 | x86_init.mpparse.setup_ioapic_ids = setup_ioapic_ids_from_mpc_nocheck; | ||
172 | #endif | ||
173 | |||
174 | pm_power_off = ce4100_power_off; | 167 | pm_power_off = ce4100_power_off; |
175 | } | 168 | } |