From: Pete P. <pp...@us...> - 2002-03-09 01:37:35
|
Update of /cvsroot/linux-mips/linux/arch/mips/mm In directory usw-pr-cvs1:/tmp/cvs-serv1053/arch/mips/mm Modified Files: ioremap.c Log Message: Fixed IS_LOW512 to work with greater than 32 bit addresses. Index: ioremap.c =================================================================== RCS file: /cvsroot/linux-mips/linux/arch/mips/mm/ioremap.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ioremap.c 14 Feb 2002 20:40:30 -0000 1.4 +++ ioremap.c 9 Mar 2002 01:37:31 -0000 1.5 @@ -107,7 +107,7 @@ * caller shouldn't need to know that small detail. */ -#define IS_LOW512(addr) (!((phys_t)(addr) & ~0x1fffffffUL)) +#define IS_LOW512(addr) (!((phys_t)(addr) & ~0x1fffffffUL) && !((phys_t)addr & 0xFFFFFFFF00000000)) void * __ioremap(phys_t phys_addr, phys_t size, unsigned long flags) { |