summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2010-08-24 04:36:02 +0000
committerpgoyette <pgoyette@NetBSD.org>2010-08-24 04:36:02 +0000
commit4cbc14d2b2fa725f905498f526228d728f5c3bfe (patch)
treea03f493b5b81d7ee0f4d272ecb29fff3a72ae0e3 /sys/dev
parentc77ac4759846f796b9dd6fba2416e9fb6eab69cb (diff)
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@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpi/acpi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index 0d406777443..51c1a935fa0 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -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 @@ static int acpi_dbgr = 0x00;
* 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;