lkml.org 
[lkml]   [2002]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] two files need <linux/init.h>
Marcelo,

I have come across two files in 2.4.19-pre6 that need to include
<linux/init.h> but don't, causing compile errors on PPC. Here is a
patch to fix that.

Thanks,
Paul.

diff -urN linux-2.4.19-pre6/fs/nfsd/nfsctl.c linuxppc-merge/fs/nfsd/nfsctl.c
--- linux-2.4.19-pre6/fs/nfsd/nfsctl.c Sun Apr 7 21:31:20 2002
+++ linuxppc-merge/fs/nfsd/nfsctl.c Mon Apr 8 22:27:30 2002
@@ -21,6 +21,7 @@
#include <linux/slab.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
+#include <linux/init.h>

#include <linux/nfs.h>
#include <linux/sunrpc/svc.h>
diff -urN linux-2.4.19-pre6/init/do_mounts.c linuxppc-merge/init/do_mounts.c
--- linux-2.4.19-pre6/init/do_mounts.c Sun Apr 7 21:31:31 2002
+++ linuxppc-merge/init/do_mounts.c Tue Apr 9 20:53:47 2002
@@ -7,6 +7,7 @@
#include <linux/blk.h>
#include <linux/fd.h>
#include <linux/tty.h>
+#include <linux/init.h>

#include <linux/nfs_fs.h>
#include <linux/nfs_fs_sb.h>
-
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:25    [W:0.286 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site