Module Name: src
Committed By: pgoyette
Date: Tue Aug 24 04:36:02 UTC 2010
Modified Files:
src/sys/dev/acpi: acpi.c
Log Message:
Initialize acpi_force_load so that it gets allocated in the data segment
rather than BSS. This lets you change its value with 'gdb --write'.
OK jruoho@
To generate a diff of this commit:
cvs rdiff -u -r1.217 -r1.218 src/sys/dev/acpi/acpi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/acpi/acpi.c
diff -u src/sys/dev/acpi/acpi.c:1.217 src/sys/dev/acpi/acpi.c:1.218
--- src/sys/dev/acpi/acpi.c:1.217 Sun Aug 22 00:39:08 2010
+++ src/sys/dev/acpi/acpi.c Tue Aug 24 04:36:02 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.217 2010/08/22 00:39:08 jmcneill Exp $ */
+/* $NetBSD: acpi.c,v 1.218 2010/08/24 04:36:02 pgoyette Exp $ */
/*-
* Copyright (c) 2003, 2007 The NetBSD Foundation, Inc.
@@ -100,7 +100,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.217 2010/08/22 00:39:08 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.218 2010/08/24 04:36:02 pgoyette Exp $");
#include "opt_acpi.h"
#include "opt_pcifixup.h"
@@ -154,7 +154,8 @@
* subsystems that ACPI supercedes) when ACPI is active.
*/
int acpi_active;
-int acpi_force_load;
+
+int acpi_force_load = 0;
int acpi_suspended = 0;
int acpi_verbose_loaded = 0;