diff options
author | Becky Bruce <bgill@freescale.com> | 2008-05-07 13:28:16 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-05-10 01:00:37 +0200 |
commit | f3612a7b199cab3942f60d9c1392eb39d58cc699 (patch) | |
tree | 8d65624a7d90d1b712fd8c4ba4421d49ac1c62bb | |
parent | 36f32675f40292002ee1fed252c180a43022d2d4 (diff) | |
download | u-boot-imx-f3612a7b199cab3942f60d9c1392eb39d58cc699.zip u-boot-imx-f3612a7b199cab3942f60d9c1392eb39d58cc699.tar.gz u-boot-imx-f3612a7b199cab3942f60d9c1392eb39d58cc699.tar.bz2 |
PPC: fix map_physmem build warning
map_physmem currently generates a warning when CONFIG_PHYS_64BIT is
enabled. This quiets the warning.
Signed-off-by: Becky Bruce <Becky.Bruce@freescale.com>
-rw-r--r-- | include/asm-ppc/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-ppc/io.h b/include/asm-ppc/io.h index 00b7ec5..7cc28bf 100644 --- a/include/asm-ppc/io.h +++ b/include/asm-ppc/io.h @@ -251,7 +251,7 @@ extern inline void out_be32(volatile unsigned __iomem *addr, int val) static inline void * map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags) { - return (void *)paddr; + return (void *)((unsigned long)paddr); } /* |