Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/alpha/alpha Pull up revision 1.29 (requested b...



details:   https://anonhg.NetBSD.org/src/rev/ad44ce6d0096
branches:  netbsd-1-5
changeset: 490535:ad44ce6d0096
user:      jhawk <jhawk%NetBSD.org@localhost>
date:      Thu Jan 25 20:48:06 2001 +0000

description:
Pull up revision 1.29 (requested by thorpej):
  Pass the PA (not the PFN) to alpha_pa_access().

diffstat:

 sys/arch/alpha/alpha/mem.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 64a5c51d6c58 -r ad44ce6d0096 sys/arch/alpha/alpha/mem.c
--- a/sys/arch/alpha/alpha/mem.c        Thu Jan 25 20:45:39 2001 +0000
+++ b/sys/arch/alpha/alpha/mem.c        Thu Jan 25 20:48:06 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mem.c,v 1.26.4.1 2000/06/30 16:27:12 simonb Exp $ */
+/* $NetBSD: mem.c,v 1.26.4.2 2001/01/25 20:48:06 jhawk Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -46,7 +46,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.26.4.1 2000/06/30 16:27:12 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.26.4.2 2001/01/25 20:48:06 jhawk Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -210,7 +210,7 @@
        /*
         * Allow access only in RAM.
         */
-       if ((prot & alpha_pa_access(atop(off))) != prot)
+       if ((prot & alpha_pa_access(off)) != prot)
                return (-1);
        return (alpha_btop(off));
 }



Home | Main Index | Thread Index | Old Index