projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82f0183
)
[POWERPC] Fixup use of phys_addr_t in mpic code
author
Becky Bruce
<becky.bruce@freescale.com>
Tue, 15 Jan 2008 02:56:18 +0000
(20:56 -0600)
committer
Kumar Gala
<galak@kernel.crashing.org>
Thu, 24 Jan 2008 01:32:33 +0000
(19:32 -0600)
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 <becky.bruce@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/mpic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/sysdev/mpic.c
b/arch/powerpc/sysdev/mpic.c
index f88ff09c47116002e2760ed9d0eb64f4b627ad8d..0da7069c7c623815c6e9852b18f8949749a22e3f 100644
(file)
--- 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)
{