diff options
author | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-02-01 00:32:01 +0000 |
---|---|---|
committer | Kanoj Sarcar <kanoj@engr.sgi.com> | 2000-02-01 00:32:01 +0000 |
commit | 14e2e737febea09c17d455f51654651a9c2a6ffd (patch) | |
tree | 1cd219ca1cde116d2232047aa1e548c6c7da0dc6 /include/asm-mips64 | |
parent | d19079626415fecedf4dd0d2e6c7b1af82200f06 (diff) |
Fix the CPHYSADDR() macro that is used in free_initmem(). CPHYSADDR()
should really look at only 32bits of the virtual address.
Diffstat (limited to 'include/asm-mips64')
-rw-r--r-- | include/asm-mips64/addrspace.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-mips64/addrspace.h b/include/asm-mips64/addrspace.h index 5e01f1ffe..d699fdf27 100644 --- a/include/asm-mips64/addrspace.h +++ b/include/asm-mips64/addrspace.h @@ -1,4 +1,4 @@ -/* $Id: addrspace.h,v 1.3 2000/01/17 23:32:47 ralf Exp $ +/* $Id: addrspace.h,v 1.4 2000/01/28 02:51:36 kanoj Exp $ * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive @@ -29,7 +29,7 @@ /* * Returns the physical address of a KSEG0/KSEG1 address */ -#define CPHYSADDR(a) (((unsigned long)(a)) & 0x000000ffffffffffUL) +#define CPHYSADDR(a) (((unsigned long)(a)) & 0x00000000ffffffffUL) #define PHYSADDR(a) (((unsigned long)(a)) & 0x000000ffffffffffUL) /* |