[patch] remove the warning from include/linux/dcache.h

From: Pawel Kot (pkot@linuxnews.pl)
Date: Sat Aug 03 2002 - 17:10:45 EST


Hi,

The simple patch removes the warning when compiling files including
<linux/dcache.h> and not <linux/kernel.h> (out_of_line_bug() declaration
is missing). Anyway it's better to have the explicit include.

diff -Nur linux-2.4.19/include/linux/dcache.h linux-2.4.19-pkot/include/linux/dcache.h
--- linux-2.4.19/include/linux/dcache.h Sat Aug 3 23:15:48 2002
+++ linux-2.4.19-pkot/include/linux/dcache.h Sat Aug 3 22:39:21 2002
@@ -5,6 +5,7 @@

 #include <asm/atomic.h>
 #include <linux/mount.h>
+#include <linux/kernel.h>

 /*
  * linux/include/linux/dcache.h

pkot

-- 
Pawel Kot <pkot@linuxnews.pl>
http://www.gnokii.org/ :: http://www.slackware.pl/
http://kt.linuxnews.pl/ -- Kernel Traffic po polsku

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



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:22 EST