From 14e2e737febea09c17d455f51654651a9c2a6ffd Mon Sep 17 00:00:00 2001 From: Kanoj Sarcar Date: Tue, 1 Feb 2000 00:32:01 +0000 Subject: Fix the CPHYSADDR() macro that is used in free_initmem(). CPHYSADDR() should really look at only 32bits of the virtual address. --- include/asm-mips64/addrspace.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/asm-mips64/addrspace.h') 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) /* -- cgit v1.2.3