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 Correct acpi_md_OsWritable() logic so that...
details: https://anonhg.NetBSD.org/src/rev/221b59ba0c19
branches: trunk
changeset: 790409:221b59ba0c19
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Sun Oct 06 16:34:48 2013 +0000
description:
Correct acpi_md_OsWritable() logic so that it can return TRUE.
>From Masanori Kanaoka in PR 47571.
diffstat:
sys/arch/x86/acpi/acpi_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ae5e37d5c129 -r 221b59ba0c19 sys/arch/x86/acpi/acpi_machdep.c
--- a/sys/arch/x86/acpi/acpi_machdep.c Sun Oct 06 16:29:26 2013 +0000
+++ b/sys/arch/x86/acpi/acpi_machdep.c Sun Oct 06 16:34:48 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_machdep.c,v 1.6 2013/03/31 19:34:24 chs Exp $ */
+/* $NetBSD: acpi_machdep.c,v 1.7 2013/10/06 16:34:48 jakllsch Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.6 2013/03/31 19:34:24 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.7 2013/10/06 16:34:48 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -297,7 +297,7 @@
BOOLEAN
acpi_md_OsWritable(void *Pointer, uint32_t Length)
{
- BOOLEAN rv = FALSE;
+ BOOLEAN rv = TRUE;
vaddr_t sva, eva;
pt_entry_t *pte;
Home |
Main Index |
Thread Index |
Old Index