summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@parisc-linux.org>2005-12-28 19:36:07 +0000
committerKyle McMartin <kyle@parisc-linux.org>2005-12-28 19:36:07 +0000
commit9d46279bcee130407ffa3fd97caa36574bee2b8b (patch)
tree73c5ce4a3b596bed8c90a7473c42c9dd1cd5375a
parent60bf9ce7137246aad291233ed7bc1a9f8cbbc0bb (diff)
downloadpalo-9d46279bcee130407ffa3fd97caa36574bee2b8b.tar.gz
Fake out some definitions so that ext2.c compiles. Once we get a working
version back in testing, I will sanitize the headers palo requires.
-rw-r--r--ipl/ext2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipl/ext2.c b/ipl/ext2.c
index b4e38db..a4c3141 100644
--- a/ipl/ext2.c
+++ b/ipl/ext2.c
@@ -13,6 +13,14 @@
* This file has been ported from the DEC 32-bit Linux version
* by David Mosberger (davidm@cs.arizona.edu).
*/
+
+/* The following defines are necessary to satisfy ext2_fs.h and
+ * things it pulls in.
+ */
+typedef unsigned int u32;
+typedef unsigned char u8;
+#define GFP_KERNEL 0
+
#include <linux/stat.h>
#include <linux/types.h>
#include <linux/ext2_fs.h>