[origin tree build failure] [PATCH] headers: Fix build indrivers/pci/hotplug/cpqphp.h

From: Ingo Molnar
Date: Mon Oct 12 2009 - 04:31:46 EST


Fix:

drivers/pci/hotplug/cpqphp.h: In function âwait_for_ctrl_irqâ:
drivers/pci/hotplug/cpqphp.h:730: error: implicit declaration of function âsignal_pendingâ

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
drivers/pci/hotplug/cpqphp.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/pci/hotplug/cpqphp.h b/drivers/pci/hotplug/cpqphp.h
index 5383600..9c6a9fd 100644
--- a/drivers/pci/hotplug/cpqphp.h
+++ b/drivers/pci/hotplug/cpqphp.h
@@ -32,6 +32,7 @@
#include <asm/io.h> /* for read? and write? functions */
#include <linux/delay.h> /* for delays */
#include <linux/mutex.h>
+#include <linux/sched.h> /* for signal_pending() */

#define MY_NAME "cpqphp"

--
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/