aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/powermac/pmac_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/powermac/pmac_setup.c')
-rw-r--r--arch/powerpc/platforms/powermac/pmac_setup.c11
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;
101int ppc_override_l2cr_value; 101int ppc_override_l2cr_value;
102int has_l2cache = 0; 102int has_l2cache = 0;
103 103
104int pmac_newworld = 1;
105
104static int current_root_goodness = -1; 106static int current_root_goodness = -1;
105 107
106extern int pmac_newworld; 108extern int pmac_newworld;
@@ -355,8 +357,8 @@ static void __init ohare_init(void)
355 } 357 }
356} 358}
357 359
358extern char *bootpath; 360char *bootpath;
359extern char *bootdevice; 361char *bootdevice;
360void *boot_host; 362void *boot_host;
361int boot_target; 363int boot_target;
362int boot_part; 364int boot_part;
@@ -391,6 +393,7 @@ note_scsi_host(struct device_node *node, void *host)
391 } 393 }
392 } 394 }
393} 395}
396EXPORT_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
568void __init 571void __init pmac_init(void)
569pmac_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;