Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/x86 Revert previous. Revision 1.79 was right; Q...
details: https://anonhg.NetBSD.org/src/rev/82e9df0a9bae
branches: trunk
changeset: 779035:82e9df0a9bae
user: jruoho <jruoho%NetBSD.org@localhost>
date: Fri Apr 27 04:32:27 2012 +0000
description:
Revert previous. Revision 1.79 was right; Qemu does not implement _PIC.
diffstat:
sys/arch/x86/x86/mpacpi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1c616bcfc41f -r 82e9df0a9bae sys/arch/x86/x86/mpacpi.c
--- a/sys/arch/x86/x86/mpacpi.c Fri Apr 27 00:57:44 2012 +0000
+++ b/sys/arch/x86/x86/mpacpi.c Fri Apr 27 04:32:27 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mpacpi.c,v 1.93 2012/04/26 10:15:42 jruoho Exp $ */
+/* $NetBSD: mpacpi.c,v 1.94 2012/04/27 04:32:27 jruoho Exp $ */
/*
* Copyright (c) 2003 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.93 2012/04/26 10:15:42 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mpacpi.c,v 1.94 2012/04/27 04:32:27 jruoho Exp $");
#include "acpica.h"
#include "opt_acpi.h"
@@ -1133,7 +1133,7 @@
* 0 = PIC mode, 1 = APIC mode, 2 = SAPIC mode.
*/
rv = acpi_eval_set_integer(NULL, "\\_PIC", 1);
- if (ACPI_FAILURE(rv)) {
+ if (ACPI_FAILURE(rv) && rv != AE_NOT_FOUND) {
if (mp_verbose)
printf("mpacpi: switch to APIC mode failed\n");
return 0;
Home |
Main Index |
Thread Index |
Old Index