OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | --- a/arch/mips/include/asm/mips_machine.h |
2 | +++ b/arch/mips/include/asm/mips_machine.h |
||
3 | @@ -36,6 +36,18 @@ static struct mips_machine machine_##_ty |
||
4 | .mach_setup = _setup, \ |
||
5 | }; |
||
6 | |||
7 | +#define MIPS_MACHINE_NONAME(_type, _id, _setup) \ |
||
8 | +static const char machine_id_##_type[] __initconst \ |
||
9 | + __aligned(1) = _id; \ |
||
10 | +static struct mips_machine machine_##_type \ |
||
11 | + __used __section(.mips.machines.init) = \ |
||
12 | +{ \ |
||
13 | + .mach_type = _type, \ |
||
14 | + .mach_id = machine_id_##_type, \ |
||
15 | + .mach_name = NULL, \ |
||
16 | + .mach_setup = _setup, \ |
||
17 | +}; |
||
18 | + |
||
19 | extern long __mips_machines_start; |
||
20 | extern long __mips_machines_end; |
||
21 |