projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-video
[oweals/u-boot.git]
/
arch
/
arm
/
include
/
asm
/
io.h
diff --git
a/arch/arm/include/asm/io.h
b/arch/arm/include/asm/io.h
index bfbe0a0988b47b2eafc636ca238f35087d7a5e5f..75773bdbe079701026986037f3bc019c5fc45b12 100644
(file)
--- a/
arch/arm/include/asm/io.h
+++ b/
arch/arm/include/asm/io.h
@@
-46,7
+46,7
@@
static inline void sync(void)
static inline void *
map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)
{
static inline void *
map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)
{
- return (void *)
paddr
;
+ return (void *)
((unsigned long)paddr)
;
}
/*
}
/*
@@
-59,7
+59,7
@@
static inline void unmap_physmem(void *vaddr, unsigned long flags)
static inline phys_addr_t virt_to_phys(void * vaddr)
{
static inline phys_addr_t virt_to_phys(void * vaddr)
{
- return (phys_addr_t)(vaddr);
+ return (phys_addr_t)(
(unsigned long)
vaddr);
}
/*
}
/*