diff options
author | Paul Mackerras <paulus@samba.org> | 2005-11-17 23:54:12 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-17 23:54:12 -0500 |
commit | 44aedfe7dedb1ba9f4f9d17f55dec5727f5ff82f (patch) | |
tree | 60402e5468a06567fd525234c056d8827dd07fc7 | |
parent | 49e16b7becd6320bde51aa238c11815708f836d9 (diff) |
powerpc: Fix a couple of compile warnings for 32-bit compiles
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/platforms/chrp/smp.c | 1 | ||||
-rw-r--r-- | arch/ppc/kernel/pci.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/chrp/smp.c b/arch/powerpc/platforms/chrp/smp.c index bb2315997d45..b616053bc331 100644 --- a/arch/powerpc/platforms/chrp/smp.c +++ b/arch/powerpc/platforms/chrp/smp.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #include <asm/machdep.h> | 34 | #include <asm/machdep.h> |
35 | #include <asm/smp.h> | 35 | #include <asm/smp.h> |
36 | #include <asm/mpic.h> | 36 | #include <asm/mpic.h> |
37 | #include <asm/rtas.h> | ||
37 | 38 | ||
38 | static void __devinit smp_chrp_kick_cpu(int nr) | 39 | static void __devinit smp_chrp_kick_cpu(int nr) |
39 | { | 40 | { |
diff --git a/arch/ppc/kernel/pci.c b/arch/ppc/kernel/pci.c index 48ed58f995c0..f7fae5f153b2 100644 --- a/arch/ppc/kernel/pci.c +++ b/arch/ppc/kernel/pci.c | |||
@@ -45,7 +45,6 @@ static void update_bridge_base(struct pci_bus *bus, int i); | |||
45 | static void pcibios_fixup_resources(struct pci_dev* dev); | 45 | static void pcibios_fixup_resources(struct pci_dev* dev); |
46 | static void fixup_broken_pcnet32(struct pci_dev* dev); | 46 | static void fixup_broken_pcnet32(struct pci_dev* dev); |
47 | static int reparent_resources(struct resource *parent, struct resource *res); | 47 | static int reparent_resources(struct resource *parent, struct resource *res); |
48 | static void fixup_rev1_53c810(struct pci_dev* dev); | ||
49 | static void fixup_cpc710_pci64(struct pci_dev* dev); | 48 | static void fixup_cpc710_pci64(struct pci_dev* dev); |
50 | #ifdef CONFIG_PPC_OF | 49 | #ifdef CONFIG_PPC_OF |
51 | static u8* pci_to_OF_bus_map; | 50 | static u8* pci_to_OF_bus_map; |