[PATCH] Allow mpage.c to build

Russell King (rmk@arm.linux.org.uk)
Wed, 5 Jun 2002 16:05:47 +0100


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/