x86: Sanitize smp_record and move it to x86_init_ops
[deliverable/linux.git] / arch / x86 / kernel / x86_init.c
CommitLineData
57844a8f
TG
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
816c25e7 8#include <asm/bios_ebda.h>
8fee697d 9#include <asm/setup.h>
6b18ae3e 10#include <asm/e820.h>
57844a8f
TG
11
12void __cpuinit x86_init_noop(void) { }
f4848472 13void __init x86_init_uint_noop(unsigned int unused) { }
57844a8f
TG
14
15/*
16 * The platform setup functions are preset with the default functions
17 * for standard PC hardware.
18 */
19struct __initdata x86_init_ops x86_init = {
f7cf5a5b
TG
20
21 .resources = {
22 .probe_roms = x86_init_noop,
8fee697d 23 .reserve_resources = reserve_standard_io_resources,
816c25e7 24 .reserve_ebda_region = reserve_ebda_region,
6b18ae3e 25 .memory_setup = default_machine_specific_memory_setup,
f7cf5a5b 26 },
f4848472
TG
27
28 .mpparse = {
29 .mpc_record = x86_init_uint_noop,
30 },
57844a8f 31};
This page took 0.029186 seconds and 5 git commands to generate.