f4a32b3ab0249c0826cc333fdff748741198f074
[safe/jmp/linux-2.6] / arch / x86 / kernel / x86_init.c
1 /*
2  * Copyright (C) 2009 Thomas Gleixner <tglx@linutronix.de>
3  *
4  *  For licencing details see kernel-base/COPYING
5  */
6 #include <linux/init.h>
7
8 #include <asm/bios_ebda.h>
9 #include <asm/setup.h>
10 #include <asm/e820.h>
11
12 void __cpuinit x86_init_noop(void) { }
13 void __init x86_init_uint_noop(unsigned int unused) { }
14
15 /*
16  * The platform setup functions are preset with the default functions
17  * for standard PC hardware.
18  */
19 struct __initdata x86_init_ops x86_init = {
20
21         .resources = {
22                 .probe_roms             = x86_init_noop,
23                 .reserve_resources      = reserve_standard_io_resources,
24                 .reserve_ebda_region    = reserve_ebda_region,
25                 .memory_setup           = default_machine_specific_memory_setup,
26         },
27
28         .mpparse = {
29                 .mpc_record             = x86_init_uint_noop,
30                 .setup_ioapic_ids       = x86_init_noop,
31         },
32 };