x86: Replace ARCH_SETUP by a proper x86_init_ops
[linux-2.6/mini2440.git] / arch / x86 / kernel / x86_init.c
blobfa2d849be35abb6513988bd24701ea51458391fd
1 /*
2 * Copyright (C) 2009 Thomas Gleixner <tglx@linutronix.de>
4 * For licencing details see kernel-base/COPYING
5 */
6 #include <linux/init.h>
8 #include <asm/bios_ebda.h>
9 #include <asm/mpspec.h>
10 #include <asm/setup.h>
11 #include <asm/e820.h>
12 #include <asm/irq.h>
14 void __cpuinit x86_init_noop(void) { }
15 void __init x86_init_uint_noop(unsigned int unused) { }
18 * The platform setup functions are preset with the default functions
19 * for standard PC hardware.
21 struct __initdata x86_init_ops x86_init = {
23 .resources = {
24 .probe_roms = x86_init_noop,
25 .reserve_resources = reserve_standard_io_resources,
26 .reserve_ebda_region = reserve_ebda_region,
27 .memory_setup = default_machine_specific_memory_setup,
30 .mpparse = {
31 .mpc_record = x86_init_uint_noop,
32 .setup_ioapic_ids = x86_init_noop,
33 .mpc_apic_id = default_mpc_apic_id,
34 .smp_read_mpc_oem = default_smp_read_mpc_oem,
35 .mpc_oem_bus_info = default_mpc_oem_bus_info,
36 .find_smp_config = default_find_smp_config,
37 .get_smp_config = default_get_smp_config,
40 .irqs = {
41 .pre_vector_init = init_ISA_irqs,
42 .intr_init = native_init_IRQ,
43 .trap_init = x86_init_noop,
46 .oem = {
47 .arch_setup = x86_init_noop,