[mmotm][PATCH] Add #include <linux/irqflags.h> to acpi/processor_idle.c

From: KOSAKI Motohiro
Date: Tue Dec 16 2008 - 00:42:32 EST



Applied after: remove-linux-hardirqh-from-asm-generic-localh.patch

=
Subject: [mmotm][PATCH] Add #include <linux/irqflags.h> to acpi/processor_idle.c

In past, processor_idle.c include irqflags.h indirectly via local.h.
But now, its inclusion was removed.

Then following build error happend.

CC [M] drivers/acpi/processor_idle.o
drivers/acpi/processor_idle.c: In function 'acpi_cstate_enter':
drivers/acpi/processor_idle.c:275: error: implicit declaration of function 'stop_critical_timings'
drivers/acpi/processor_idle.c:288: error: implicit declaration of function 'start_critical_timings'
make[1]: *** [drivers/acpi/processor_idle.o] Error 1
make: *** [drivers/acpi/processor_idle.o] Error 2


Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>
CC: Russell King <rmk+kernel@xxxxxxxxxxxxxxxx>
CC: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
drivers/acpi/processor_idle.c | 1 +
1 file changed, 1 insertion(+)

Index: b/drivers/acpi/processor_idle.c
===================================================================
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -41,6 +41,7 @@
#include <linux/pm_qos_params.h>
#include <linux/clockchips.h>
#include <linux/cpuidle.h>
+#include <linux/irqflags.h>

/*
* Include the apic definitions for x86 to have the APIC timer related defines


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/