[PATCH] Include <asm/page.h> in fs/seq_file.c, as it uses PAGE_SIZE

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Wed Jan 22 2003 - 03:35:05 EST


Otherwise it won't compile. I guesss this used to work because
<asm/page.h> was included somewhere to get the BUG macros, but now with
the advent of <asm/bug.h> that's changed.

diff -ruN -X../cludes linux-2.5.59-uc0.orig/fs/seq_file.c linux-2.5.59-uc0/fs/seq_file.c
--- linux-2.5.59-uc0.orig/fs/seq_file.c 2002-09-18 09:59:04.000000000 +0900
+++ linux-2.5.59-uc0/fs/seq_file.c 2003-01-22 11:49:41.000000000 +0900
@@ -10,6 +10,7 @@
 #include <linux/slab.h>
 
 #include <asm/uaccess.h>
+#include <asm/page.h>
 
 /**
  * seq_open - initialize sequential file
-
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 : Thu Jan 23 2003 - 22:00:29 EST