]> err.no Git - linux-2.6/commitdiff
[MTD] Fix mtdoops.c compilation
authorDavid Woodhouse <dwmw2@infradead.org>
Thu, 7 Feb 2008 10:50:57 +0000 (10:50 +0000)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 7 Feb 2008 10:50:57 +0000 (10:50 +0000)
drivers/mtd/mtdoops.c: In function ‘mtdoops_console_sync’:
drivers/mtd/mtdoops.c:329: error: implicit declaration of function ‘in_interrupt’

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/mtdoops.c

index fd98e38f10bcf133172b4a87475134d489d809e1..d3cf05012b46a0a9df82888cb39ccd1bfd07f642 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/wait.h>
 #include <linux/delay.h>
 #include <linux/spinlock.h>
+#include <linux/interrupt.h>
 #include <linux/mtd/mtd.h>
 
 #define OOPS_PAGE_SIZE 4096