Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/acpi Fix bug, PG_W is 'wired', not 'writable'.
details: https://anonhg.NetBSD.org/src/rev/230abe206e58
branches: trunk
changeset: 997300:230abe206e58
user: maxv <maxv%NetBSD.org@localhost>
date: Sun Mar 03 17:33:33 2019 +0000
description:
Fix bug, PG_W is 'wired', not 'writable'.
diffstat:
sys/arch/x86/acpi/acpi_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 969ba50b0428 -r 230abe206e58 sys/arch/x86/acpi/acpi_machdep.c
--- a/sys/arch/x86/acpi/acpi_machdep.c Sun Mar 03 17:09:24 2019 +0000
+++ b/sys/arch/x86/acpi/acpi_machdep.c Sun Mar 03 17:33:33 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_machdep.c,v 1.22 2019/02/11 14:59:32 cherry Exp $ */
+/* $NetBSD: acpi_machdep.c,v 1.23 2019/03/03 17:33:33 maxv Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.22 2019/02/11 14:59:32 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.23 2019/03/03 17:33:33 maxv Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -350,7 +350,7 @@
for (; sva < eva; sva += PAGE_SIZE) {
pte = kvtopte(sva);
- if ((*pte & (PG_V|PG_W)) != (PG_V|PG_W)) {
+ if ((*pte & (PG_V|PG_RW)) != (PG_V|PG_RW)) {
rv = FALSE;
break;
}
Home |
Main Index |
Thread Index |
Old Index