diff options
Diffstat (limited to 'include/asm-sparc/io.h')
-rw-r--r-- | include/asm-sparc/io.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-sparc/io.h b/include/asm-sparc/io.h index 5f8d05cc36..0c5d86cb3a 100644 --- a/include/asm-sparc/io.h +++ b/include/asm-sparc/io.h @@ -90,4 +90,9 @@ static inline void unmap_physmem(void *vaddr, unsigned long flags) } +static inline phys_addr_t virt_to_phys(void * vaddr) +{ + return (phys_addr_t)(vaddr); +} + #endif |