From: Becky Bruce Date: Tue, 15 Jan 2008 02:56:18 +0000 (-0600) Subject: [POWERPC] Fixup use of phys_addr_t in mpic code X-Git-Tag: v2.6.25-rc1~1131^2~99^2~39 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c51a3fdc0a950dc65b4d552497e54cf60677f8a5;p=linux-2.6-omap-h63xx.git [POWERPC] Fixup use of phys_addr_t in mpic code The mpic_map() and __mpic_map_mmio() need to use phys_addr_t for the physical address they are passed. Signed-off-by: Becky Bruce Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/sysdev/mpic.c b/arch/powerpc/sysdev/mpic.c index f88ff09c471..0da7069c7c6 100644 --- a/arch/powerpc/sysdev/mpic.c +++ b/arch/powerpc/sysdev/mpic.c @@ -267,7 +267,7 @@ static inline void _mpic_irq_write(struct mpic *mpic, unsigned int src_no, */ -static void _mpic_map_mmio(struct mpic *mpic, unsigned long phys_addr, +static void _mpic_map_mmio(struct mpic *mpic, phys_addr_t phys_addr, struct mpic_reg_bank *rb, unsigned int offset, unsigned int size) { @@ -287,7 +287,7 @@ static void _mpic_map_dcr(struct mpic *mpic, struct mpic_reg_bank *rb, BUG_ON(!DCR_MAP_OK(rb->dhost)); } -static inline void mpic_map(struct mpic *mpic, unsigned long phys_addr, +static inline void mpic_map(struct mpic *mpic, phys_addr_t phys_addr, struct mpic_reg_bank *rb, unsigned int offset, unsigned int size) {