[lkml]   [2003]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] Include <asm/page.h> in fs/seq_file.c, as it uses PAGE_SIZE
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
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:32    [W:0.051 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site