diff options
Diffstat (limited to 'arch/m68k/kernel')
-rw-r--r-- | arch/m68k/kernel/head.S | 2 | ||||
-rw-r--r-- | arch/m68k/kernel/process.c | 1 | ||||
-rw-r--r-- | arch/m68k/kernel/setup.c | 15 |
3 files changed, 9 insertions, 9 deletions
diff --git a/arch/m68k/kernel/head.S b/arch/m68k/kernel/head.S index faa6764f1d13..f513f530de91 100644 --- a/arch/m68k/kernel/head.S +++ b/arch/m68k/kernel/head.S | |||
@@ -1434,7 +1434,7 @@ L(mmu_fixup_done): | |||
1434 | #endif | 1434 | #endif |
1435 | 1435 | ||
1436 | #ifdef CONFIG_HP300 | 1436 | #ifdef CONFIG_HP300 |
1437 | is_not_hp300(1f) | 1437 | is_not_hp300(2f) |
1438 | /* | 1438 | /* |
1439 | * Fix up the iobase register to point to the new location of the LEDs. | 1439 | * Fix up the iobase register to point to the new location of the LEDs. |
1440 | */ | 1440 | */ |
diff --git a/arch/m68k/kernel/process.c b/arch/m68k/kernel/process.c index 5de4e4ed76ab..7888cdf91f5d 100644 --- a/arch/m68k/kernel/process.c +++ b/arch/m68k/kernel/process.c | |||
@@ -41,7 +41,6 @@ | |||
41 | * setup. | 41 | * setup. |
42 | */ | 42 | */ |
43 | static struct fs_struct init_fs = INIT_FS; | 43 | static struct fs_struct init_fs = INIT_FS; |
44 | static struct files_struct init_files = INIT_FILES; | ||
45 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); | 44 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); |
46 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); | 45 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); |
47 | struct mm_struct init_mm = INIT_MM(init_mm); | 46 | struct mm_struct init_mm = INIT_MM(init_mm); |
diff --git a/arch/m68k/kernel/setup.c b/arch/m68k/kernel/setup.c index bba650312fd9..a9fb83a8c180 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 |