Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/alpha No, really, pass the PA to alpha_pa_acc...
details: https://anonhg.NetBSD.org/src/rev/d47bf3ad2003
branches: trunk
changeset: 501758:d47bf3ad2003
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Jan 07 05:42:54 2001 +0000
description:
No, really, pass the PA to alpha_pa_access(), not the PFN.
diffstat:
sys/arch/alpha/alpha/mem.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 01ca9aec7e7b -r d47bf3ad2003 sys/arch/alpha/alpha/mem.c
--- a/sys/arch/alpha/alpha/mem.c Sun Jan 07 05:41:50 2001 +0000
+++ b/sys/arch/alpha/alpha/mem.c Sun Jan 07 05:42:54 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mem.c,v 1.28 2000/06/29 09:02:55 mrg Exp $ */
+/* $NetBSD: mem.c,v 1.29 2001/01/07 05:42:54 thorpej 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.28 2000/06/29 09:02:55 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mem.c,v 1.29 2001/01/07 05:42:54 thorpej Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -208,7 +208,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