lkml.org 
[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
Date
From
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/
\
 
 \ /
  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