Go to the documentation of this file.
10 #ifndef __ASM_MIPS_MACHINE_H
11 #define __ASM_MIPS_MACHINE_H
14 #include <linux/stddef.h>
16 #include <asm/bootinfo.h>
25 #define MIPS_MACHINE(_type, _id, _name, _setup) \
26 static const char machine_name_##_type[] __initconst \
27 __aligned(1) = _name; \
28 static const char machine_id_##_type[] __initconst \
30 static struct mips_machine machine_##_type \
31 __used __section(.mips.machines.init) = \
34 .mach_id = machine_id_##_type, \
35 .mach_name = machine_name_##_type, \
36 .mach_setup = _setup, \
42 #ifdef CONFIG_MIPS_MACHINE