Module Name:    src
Committed By:   jruoho
Date:           Sun Jul 18 20:20:04 UTC 2010

Modified Files:
        src/sys/dev/acpi: acpi_cpu_cstate.c

Log Message:
Fix build failure in i386/ALL. Again caused by a missing _COMPONENT
declaration required for ACPI_DEBUG. Noted by cegger@ -- thanks.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/acpi/acpi_cpu_cstate.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_cpu_cstate.c
diff -u src/sys/dev/acpi/acpi_cpu_cstate.c:1.3 src/sys/dev/acpi/acpi_cpu_cstate.c:1.4
--- src/sys/dev/acpi/acpi_cpu_cstate.c:1.3	Sun Jul 18 13:09:04 2010
+++ src/sys/dev/acpi/acpi_cpu_cstate.c	Sun Jul 18 20:20:04 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_cpu_cstate.c,v 1.3 2010/07/18 13:09:04 jruoho Exp $ */
+/* $NetBSD: acpi_cpu_cstate.c,v 1.4 2010/07/18 20:20:04 jruoho Exp $ */
 
 /*-
  * Copyright (c) 2010 Jukka Ruohonen <jruoho...@iki.fi>
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.3 2010/07/18 13:09:04 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_cpu_cstate.c,v 1.4 2010/07/18 20:20:04 jruoho Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -39,12 +39,16 @@
 #include <dev/pci/pcivar.h>
 #include <dev/pci/pcidevs.h>
 
+#include <dev/acpi/acpireg.h>
 #include <dev/acpi/acpivar.h>
 #include <dev/acpi/acpi_cpu.h>
 #include <dev/acpi/acpi_timer.h>
 
 #include <machine/acpi_machdep.h>
 
+#define _COMPONENT	 ACPI_BUS_COMPONENT
+ACPI_MODULE_NAME	 ("acpi_cpu_cstate")
+
 /*
  * This is AML_RESOURCE_GENERIC_REGISTER,
  * included here separately for convenience.

Reply via email to