2002-08-03 22:05:02

by Pawel Kot

[permalink] [raw]
Subject: [patch] remove the warning from include/linux/dcache.h

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 <[email protected]>
http://www.gnokii.org/ :: http://www.slackware.pl/
http://kt.linuxnews.pl/ -- Kernel Traffic po polsku