[PATCH] Allow mpage.c to build

From: Russell King (rmk@arm.linux.org.uk)
Date: Wed Jun 05 2002 - 10:05:47 EST


Linus,

When trying to build mpage.c for ARM, I get errors from bio.h since kdev_t
isn't defined. The following fixes this.

(I fail to see how this can build for anyone as it currently stands; its
probably something x86 specific buried in the asm-i386 includes.)

--- orig/fs/mpage.c Wed May 29 23:57:08 2002
+++ linux/fs/mpage.c Thu May 30 00:34:44 2002
@@ -12,6 +12,7 @@
 
 #include <linux/kernel.h>
 #include <linux/module.h>
+#include <linux/kdev_t.h>
 #include <linux/bio.h>
 #include <linux/fs.h>
 #include <linux/buffer_head.h>

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- 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 : Fri Jun 07 2002 - 22:00:24 EST