]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Allow mpage.c to build
authorRussell King <rmk@arm.linux.org.uk>
Wed, 5 Jun 2002 02:42:44 +0000 (19:42 -0700)
committerRussell King <rmk@flint.arm.linux.org.uk>
Wed, 5 Jun 2002 02:42:44 +0000 (19:42 -0700)
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.)

fs/mpage.c

index 238b7d608925e855047426b9661673c4e57a398d..3b014df61d354a4c7118c2b88d5b890462883c4a 100644 (file)
@@ -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>