Skip to content
Snippets Groups Projects
Commit f3612a7b authored by Becky Bruce's avatar Becky Bruce Committed by Wolfgang Denk
Browse files

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: default avatarBecky Bruce <Becky.Bruce@freescale.com>
parent 36f32675
No related branches found
No related tags found
No related merge requests found
...@@ -251,7 +251,7 @@ extern inline void out_be32(volatile unsigned __iomem *addr, int val) ...@@ -251,7 +251,7 @@ extern inline void out_be32(volatile unsigned __iomem *addr, int val)
static inline void * static inline void *
map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags) map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)
{ {
return (void *)paddr; return (void *)((unsigned long)paddr);
} }
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment