Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Initialize acpi_force_load so that it gets allo...
details: https://anonhg.NetBSD.org/src/rev/e1e132f2cc9d
branches: trunk
changeset: 757291:e1e132f2cc9d
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Tue Aug 24 04:36:02 2010 +0000
description:
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:
sys/dev/acpi/acpi.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 58846a5fc72c -r e1e132f2cc9d sys/dev/acpi/acpi.c
--- a/sys/dev/acpi/acpi.c Tue Aug 24 00:07:00 2010 +0000
+++ b/sys/dev/acpi/acpi.c Tue Aug 24 04:36:02 2010 +0000
@@ -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;
Home |
Main Index |
Thread Index |
Old Index