x86: Sanitize smp_record and move it to x86_init_ops
[linux-2.6/mini2440.git] / arch / x86 / include / asm / x86_init.h
blob10b297b1881a784209999cec874c4c7a61991e7c
1 #ifndef _ASM_X86_PLATFORM_H
2 #define _ASM_X86_PLATFORM_H
4 /**
5 * struct x86_init_mpparse - platform specific mpparse ops
6 * @mpc_record: platform specific mpc record accounting
7 */
8 struct x86_init_mpparse {
9 void (*mpc_record)(unsigned int mode);
12 /**
13 * struct x86_init_resources - platform specific resource related ops
14 * @probe_roms: probe BIOS roms
15 * @reserve_resources: reserve the standard resources for the
16 * platform
17 * @reserve_ebda_region: reserve the extended bios data area
18 * @memory_setup: platform specific memory setup
21 struct x86_init_resources {
22 void (*probe_roms)(void);
23 void (*reserve_resources)(void);
24 void (*reserve_ebda_region)(void);
25 char *(*memory_setup)(void);
28 /**
29 * struct x86_init_ops - functions for platform specific setup
32 struct x86_init_ops {
33 struct x86_init_resources resources;
34 struct x86_init_mpparse mpparse;
37 extern struct x86_init_ops x86_init;
39 extern void x86_init_noop(void);
40 extern void x86_init_uint_noop(unsigned int unused);
42 #endif