diff options
Diffstat (limited to 'arch/m68k/kernel/setup.c')
-rw-r--r-- | arch/m68k/kernel/setup.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/arch/m68k/kernel/setup.c b/arch/m68k/kernel/setup.c index bba650312fd..a9fb83a8c18 100644 --- a/arch/m68k/kernel/setup.c +++ b/arch/m68k/kernel/setup.c | |||
@@ -41,11 +41,12 @@ | |||
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | unsigned long m68k_machtype; | 43 | unsigned long m68k_machtype; |
44 | unsigned long m68k_cputype; | ||
45 | EXPORT_SYMBOL(m68k_machtype); | 44 | EXPORT_SYMBOL(m68k_machtype); |
45 | unsigned long m68k_cputype; | ||
46 | EXPORT_SYMBOL(m68k_cputype); | 46 | EXPORT_SYMBOL(m68k_cputype); |
47 | unsigned long m68k_fputype; | 47 | unsigned long m68k_fputype; |
48 | unsigned long m68k_mmutype; | 48 | unsigned long m68k_mmutype; |
49 | EXPORT_SYMBOL(m68k_mmutype); | ||
49 | #ifdef CONFIG_VME | 50 | #ifdef CONFIG_VME |
50 | unsigned long vme_brdtype; | 51 | unsigned long vme_brdtype; |
51 | EXPORT_SYMBOL(vme_brdtype); | 52 | EXPORT_SYMBOL(vme_brdtype); |
@@ -345,19 +346,19 @@ void __init setup_arch(char **cmdline_p) | |||
345 | 346 | ||
346 | /* set ISA defs early as possible */ | 347 | /* set ISA defs early as possible */ |
347 | #if defined(CONFIG_ISA) && defined(MULTI_ISA) | 348 | #if defined(CONFIG_ISA) && defined(MULTI_ISA) |
348 | #if defined(CONFIG_Q40) | ||
349 | if (MACH_IS_Q40) { | 349 | if (MACH_IS_Q40) { |
350 | isa_type = Q40_ISA; | 350 | isa_type = ISA_TYPE_Q40; |
351 | isa_sex = 0; | 351 | isa_sex = 0; |
352 | } | 352 | } |
353 | #elif defined(CONFIG_GG2) | 353 | #ifdef CONFIG_GG2 |
354 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(GG2_ISA)) { | 354 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(GG2_ISA)) { |
355 | isa_type = GG2_ISA; | 355 | isa_type = ISA_TYPE_GG2; |
356 | isa_sex = 0; | 356 | isa_sex = 0; |
357 | } | 357 | } |
358 | #elif defined(CONFIG_AMIGA_PCMCIA) | 358 | #endif |
359 | #ifdef CONFIG_AMIGA_PCMCIA | ||
359 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(PCMCIA)) { | 360 | if (MACH_IS_AMIGA && AMIGAHW_PRESENT(PCMCIA)) { |
360 | isa_type = AG_ISA; | 361 | isa_type = ISA_TYPE_AG; |
361 | isa_sex = 1; | 362 | isa_sex = 1; |
362 | } | 363 | } |
363 | #endif | 364 | #endif |