diff options
Diffstat (limited to 'arch/m68k/kernel/setup.c')
-rw-r--r-- | arch/m68k/kernel/setup.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/m68k/kernel/setup.c b/arch/m68k/kernel/setup.c index a9fb83a8c180..ea1e44da19b9 100644 --- a/arch/m68k/kernel/setup.c +++ b/arch/m68k/kernel/setup.c | |||
@@ -26,6 +26,7 @@ | |||
26 | 26 | ||
27 | #include <asm/bootinfo.h> | 27 | #include <asm/bootinfo.h> |
28 | #include <asm/setup.h> | 28 | #include <asm/setup.h> |
29 | #include <asm/fpu.h> | ||
29 | #include <asm/irq.h> | 30 | #include <asm/irq.h> |
30 | #include <asm/io.h> | 31 | #include <asm/io.h> |
31 | #include <asm/machdep.h> | 32 | #include <asm/machdep.h> |
@@ -40,6 +41,11 @@ | |||
40 | #include <asm/dvma.h> | 41 | #include <asm/dvma.h> |
41 | #endif | 42 | #endif |
42 | 43 | ||
44 | #if !FPSTATESIZE || !NR_IRQS | ||
45 | #warning No CPU/platform type selected, your kernel will not work! | ||
46 | #warning Are you building an allnoconfig kernel? | ||
47 | #endif | ||
48 | |||
43 | unsigned long m68k_machtype; | 49 | unsigned long m68k_machtype; |
44 | EXPORT_SYMBOL(m68k_machtype); | 50 | EXPORT_SYMBOL(m68k_machtype); |
45 | unsigned long m68k_cputype; | 51 | unsigned long m68k_cputype; |
@@ -116,6 +122,7 @@ extern int bvme6000_parse_bootinfo(const struct bi_record *); | |||
116 | extern int mvme16x_parse_bootinfo(const struct bi_record *); | 122 | extern int mvme16x_parse_bootinfo(const struct bi_record *); |
117 | extern int mvme147_parse_bootinfo(const struct bi_record *); | 123 | extern int mvme147_parse_bootinfo(const struct bi_record *); |
118 | extern int hp300_parse_bootinfo(const struct bi_record *); | 124 | extern int hp300_parse_bootinfo(const struct bi_record *); |
125 | extern int apollo_parse_bootinfo(const struct bi_record *); | ||
119 | 126 | ||
120 | extern void config_amiga(void); | 127 | extern void config_amiga(void); |
121 | extern void config_atari(void); | 128 | extern void config_atari(void); |
@@ -183,6 +190,8 @@ static void __init m68k_parse_bootinfo(const struct bi_record *record) | |||
183 | unknown = mvme147_parse_bootinfo(record); | 190 | unknown = mvme147_parse_bootinfo(record); |
184 | else if (MACH_IS_HP300) | 191 | else if (MACH_IS_HP300) |
185 | unknown = hp300_parse_bootinfo(record); | 192 | unknown = hp300_parse_bootinfo(record); |
193 | else if (MACH_IS_APOLLO) | ||
194 | unknown = apollo_parse_bootinfo(record); | ||
186 | else | 195 | else |
187 | unknown = 1; | 196 | unknown = 1; |
188 | } | 197 | } |