From: James S. <jsi...@us...> - 2002-02-12 18:03:15
|
Update of /cvsroot/linux-mips/linux/include/asm-mips In directory usw-pr-cvs1:/tmp/cvs-serv3449 Modified Files: io.h Log Message: Make ioremap accept a 64-bit physical address as argument. Index: io.h =================================================================== RCS file: /cvsroot/linux-mips/linux/include/asm-mips/io.h,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- io.h 28 Jan 2002 18:48:10 -0000 1.16 +++ io.h 12 Feb 2002 18:03:12 -0000 1.17 @@ -132,20 +132,14 @@ */ #define page_to_phys(page) ((page - mem_map) << PAGE_SHIFT) -#ifdef CONFIG_64BIT_PHYS_ADDR -typedef unsigned long long phys_t; -#else -typedef unsigned long phys_t; -#endif - extern void * __ioremap(phys_t offset, phys_t size, unsigned long flags); -static inline void *ioremap(unsigned long offset, unsigned long size) +static inline void *ioremap(phys_t offset, unsigned long size) { return __ioremap(offset, size, _CACHE_UNCACHED); } -static inline void *ioremap_nocache(unsigned long offset, unsigned long size) +static inline void *ioremap_nocache(phys_t offset, unsigned long size) { return __ioremap(offset, size, _CACHE_UNCACHED); } |