projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36f3267
)
PPC: fix map_physmem build warning
author
Becky Bruce
<bgill@freescale.com>
Wed, 7 May 2008 18:28:16 +0000
(13:28 -0500)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 9 May 2008 23:00:37 +0000
(
01:00
+0200)
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>
include/asm-ppc/io.h
patch
|
blob
|
history
diff --git
a/include/asm-ppc/io.h
b/include/asm-ppc/io.h
index 00b7ec57e40968624b87287a8324cd619c8612c5..7cc28bfe3a25c3bc048e46b0aa933b257184de4b 100644
(file)
--- 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)
;
}
/*