[PATCH] two files need <linux/init.h>

From: Paul Mackerras (paulus@samba.org)
Date: Tue Apr 09 2002 - 07:12:17 EST


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/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:12 EST