[patch->2.3.26-pre2] fix for fbmem.c to compile (on ppc)

Eleonora Autore (ely@ns1.avnet.co.uk)
Sat, 6 Nov 1999 16:43:44 +0000 (GMT)


Hi Linus,

Thie fix you included in 2.3.26-pre2 for fbmem.c to compile uses
PAGE_CACHE_SHIFT which is defined in <linux/pagemap.h>. It is ok on i386
arch because (probably) it is included via some other means but on ppc it
fails to compile. So here is the patch:

--- fbmem.c.0 Sat Nov 6 16:50:08 1999
+++ fbmem.c Sat Nov 6 16:50:18 1999
@@ -23,6 +23,7 @@
#include <linux/console_struct.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
+#include <linux/pagemap.h>
#ifdef CONFIG_KMOD
#include <linux/kmod.h>
#endif

Regards,
Tigran.

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