Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include Cast the arg to MIPS_KSEG0_TO_PHYS() i...



details:   https://anonhg.NetBSD.org/src/rev/cdd78a1194ea
branches:  trunk
changeset: 545500:cdd78a1194ea
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Apr 09 22:10:58 2003 +0000

description:
Cast the arg to MIPS_KSEG0_TO_PHYS() in POOL_VTOPHYS() (thanks, nathan!).

diffstat:

 sys/arch/mips/include/pmap.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r fedd20aa1bf8 -r cdd78a1194ea sys/arch/mips/include/pmap.h
--- a/sys/arch/mips/include/pmap.h      Wed Apr 09 21:39:29 2003 +0000
+++ b/sys/arch/mips/include/pmap.h      Wed Apr 09 22:10:58 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.42 2003/04/09 18:22:14 thorpej Exp $        */
+/*     $NetBSD: pmap.h,v 1.43 2003/04/09 22:10:58 thorpej Exp $        */
 
 /*
  * Copyright (c) 1987 Carnegie-Mellon University
@@ -154,7 +154,7 @@
 /*
  * Other hooks for the pool allocator.
  */
-#define        POOL_VTOPHYS(va)        MIPS_KSEG0_TO_PHYS((va))
+#define        POOL_VTOPHYS(va)        MIPS_KSEG0_TO_PHYS((vaddr_t)(va))
 
 /*
  * Select CCA to use for unmanaged pages.



Home | Main Index | Thread Index | Old Index