diff options
Diffstat (limited to 'arch/powerpc/platforms/powermac/pmac_setup.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/pmac_setup.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/powermac/pmac_setup.c b/arch/powerpc/platforms/powermac/pmac_setup.c index 3667e0b2b8e..1b12bf9956c 100644 --- a/arch/powerpc/platforms/powermac/pmac_setup.c +++ b/arch/powerpc/platforms/powermac/pmac_setup.c | |||
@@ -101,6 +101,8 @@ int ppc_override_l2cr = 0; | |||
101 | int ppc_override_l2cr_value; | 101 | int ppc_override_l2cr_value; |
102 | int has_l2cache = 0; | 102 | int has_l2cache = 0; |
103 | 103 | ||
104 | int pmac_newworld = 1; | ||
105 | |||
104 | static int current_root_goodness = -1; | 106 | static int current_root_goodness = -1; |
105 | 107 | ||
106 | extern int pmac_newworld; | 108 | extern int pmac_newworld; |
@@ -355,8 +357,8 @@ static void __init ohare_init(void) | |||
355 | } | 357 | } |
356 | } | 358 | } |
357 | 359 | ||
358 | extern char *bootpath; | 360 | char *bootpath; |
359 | extern char *bootdevice; | 361 | char *bootdevice; |
360 | void *boot_host; | 362 | void *boot_host; |
361 | int boot_target; | 363 | int boot_target; |
362 | int boot_part; | 364 | int boot_part; |
@@ -391,6 +393,7 @@ note_scsi_host(struct device_node *node, void *host) | |||
391 | } | 393 | } |
392 | } | 394 | } |
393 | } | 395 | } |
396 | EXPORT_SYMBOL(note_scsi_host); | ||
394 | #endif | 397 | #endif |
395 | 398 | ||
396 | #if defined(CONFIG_BLK_DEV_IDE) && defined(CONFIG_BLK_DEV_IDE_PMAC) | 399 | #if defined(CONFIG_BLK_DEV_IDE) && defined(CONFIG_BLK_DEV_IDE_PMAC) |
@@ -565,9 +568,7 @@ pmac_halt(void) | |||
565 | pmac_power_off(); | 568 | pmac_power_off(); |
566 | } | 569 | } |
567 | 570 | ||
568 | void __init | 571 | void __init pmac_init(void) |
569 | pmac_init(unsigned long r3, unsigned long r4, unsigned long r5, | ||
570 | unsigned long r6, unsigned long r7) | ||
571 | { | 572 | { |
572 | /* isa_io_base gets set in pmac_find_bridges */ | 573 | /* isa_io_base gets set in pmac_find_bridges */ |
573 | isa_mem_base = PMAC_ISA_MEM_BASE; | 574 | isa_mem_base = PMAC_ISA_MEM_BASE; |