[origin tree build failure] [PATCH] headers: Fix build indrivers/char/rtc.c

From: Ingo Molnar
Date: Mon Oct 12 2009 - 04:33:50 EST


Fix:

drivers/char/rtc.c: In function 'rtc_interrupt':
drivers/char/rtc.c:271: error: 'TASK_INTERRUPTIBLE' undeclared (first use in this function)
drivers/char/rtc.c:271: error: (Each undeclared identifier is reported only once)

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
drivers/char/rtc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/char/rtc.c b/drivers/char/rtc.c
index e0d0f8b..bc4ab3e 100644
--- a/drivers/char/rtc.c
+++ b/drivers/char/rtc.c
@@ -74,6 +74,7 @@
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/spinlock.h>
+#include <linux/sched.h>
#include <linux/sysctl.h>
#include <linux/wait.h>
#include <linux/bcd.h>
--
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/