diff options
author | David Howells <dhowells@redhat.com> | 2006-12-05 12:01:28 -0500 |
---|---|---|
committer | David Howells <dhowells@warthog.cambridge.redhat.com> | 2006-12-05 12:01:28 -0500 |
commit | 9db73724453a9350e1c22dbe732d427e2939a5c9 (patch) | |
tree | 15e3ead6413ae97398a54292acc199bee0864d42 /arch/powerpc/platforms/powermac/setup.c | |
parent | 4c1ac1b49122b805adfa4efc620592f68dccf5db (diff) | |
parent | e62438630ca37539c8cc1553710bbfaa3cf960a7 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
drivers/ata/libata-scsi.c
include/linux/libata.h
Futher merge of Linus's head and compilation fixups.
Signed-Off-By: David Howells <dhowells@redhat.com>
Diffstat (limited to 'arch/powerpc/platforms/powermac/setup.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/setup.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/powermac/setup.c b/arch/powerpc/platforms/powermac/setup.c index 824a618396ab..d949e9df41ef 100644 --- a/arch/powerpc/platforms/powermac/setup.c +++ b/arch/powerpc/platforms/powermac/setup.c | |||
@@ -70,6 +70,7 @@ | |||
70 | #include <asm/pmac_feature.h> | 70 | #include <asm/pmac_feature.h> |
71 | #include <asm/time.h> | 71 | #include <asm/time.h> |
72 | #include <asm/of_device.h> | 72 | #include <asm/of_device.h> |
73 | #include <asm/of_platform.h> | ||
73 | #include <asm/mmu_context.h> | 74 | #include <asm/mmu_context.h> |
74 | #include <asm/iommu.h> | 75 | #include <asm/iommu.h> |
75 | #include <asm/smu.h> | 76 | #include <asm/smu.h> |
@@ -361,7 +362,7 @@ char *bootdevice; | |||
361 | void *boot_host; | 362 | void *boot_host; |
362 | int boot_target; | 363 | int boot_target; |
363 | int boot_part; | 364 | int boot_part; |
364 | extern dev_t boot_dev; | 365 | static dev_t boot_dev; |
365 | 366 | ||
366 | #ifdef CONFIG_SCSI | 367 | #ifdef CONFIG_SCSI |
367 | void __init note_scsi_host(struct device_node *node, void *host) | 368 | void __init note_scsi_host(struct device_node *node, void *host) |
@@ -676,8 +677,6 @@ static int __init pmac_probe(void) | |||
676 | 677 | ||
677 | #ifdef CONFIG_PPC32 | 678 | #ifdef CONFIG_PPC32 |
678 | /* isa_io_base gets set in pmac_pci_init */ | 679 | /* isa_io_base gets set in pmac_pci_init */ |
679 | isa_mem_base = PMAC_ISA_MEM_BASE; | ||
680 | pci_dram_offset = PMAC_PCI_DRAM_OFFSET; | ||
681 | ISA_DMA_THRESHOLD = ~0L; | 680 | ISA_DMA_THRESHOLD = ~0L; |
682 | DMA_MODE_READ = 1; | 681 | DMA_MODE_READ = 1; |
683 | DMA_MODE_WRITE = 2; | 682 | DMA_MODE_WRITE = 2; |
@@ -727,7 +726,7 @@ define_machine(powermac) { | |||
727 | .show_cpuinfo = pmac_show_cpuinfo, | 726 | .show_cpuinfo = pmac_show_cpuinfo, |
728 | .init_IRQ = pmac_pic_init, | 727 | .init_IRQ = pmac_pic_init, |
729 | .get_irq = NULL, /* changed later */ | 728 | .get_irq = NULL, /* changed later */ |
730 | .pcibios_fixup = pmac_pcibios_fixup, | 729 | .pci_irq_fixup = pmac_pci_irq_fixup, |
731 | .restart = pmac_restart, | 730 | .restart = pmac_restart, |
732 | .power_off = pmac_power_off, | 731 | .power_off = pmac_power_off, |
733 | .halt = pmac_halt, | 732 | .halt = pmac_halt, |