Messages in this thread Patch in this message |  | | Subject | [PATCH] Include <asm/page.h> in fs/seq_file.c, as it uses PAGE_SIZE | Date | Wed, 22 Jan 2003 17:35:05 +0900 (JST) | From | (Miles Bader) |
| |
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/
|  |