[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080630105458.7c95e195.randy.dunlap@oracle.com>
Date: Mon, 30 Jun 2008 10:54:58 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: linux-next@...r.kernel.org
Cc: lkml <linux-kernel@...r.kernel.org>, mingo <mingo@...hat.com>,
tglx <tglx@...utronix.de>, hpa <hpa@...or.com>,
akpm <akpm@...ux-foundation.org>
Subject: [PATCH -next] fork and exit: need to include iocontext.h
From: Randy Dunlap <randy.dunlap@...cle.com>
Fix fork and exit build errors: they need to include iocontext.h:
linux-next-20080630/kernel/fork.c: In function 'copy_process':
linux-next-20080630/kernel/fork.c:1237: error: implicit declaration of function 'put_io_context'
linux-next-20080630/kernel/exit.c: In function 'do_exit':
linux-next-20080630/kernel/exit.c:992: error: implicit declaration of function 'exit_io_context'
Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
kernel/exit.c | 1 +
kernel/fork.c | 1 +
2 files changed, 2 insertions(+)
--- linux-next-20080630.orig/kernel/fork.c
+++ linux-next-20080630/kernel/fork.c
@@ -23,6 +23,7 @@
#include <linux/sem.h>
#include <linux/file.h>
#include <linux/fdtable.h>
+#include <linux/iocontext.h>
#include <linux/key.h>
#include <linux/binfmts.h>
#include <linux/mman.h>
--- linux-next-20080630.orig/kernel/exit.c
+++ linux-next-20080630/kernel/exit.c
@@ -13,6 +13,7 @@
#include <linux/personality.h>
#include <linux/tty.h>
#include <linux/mnt_namespace.h>
+#include <linux/iocontext.h>
#include <linux/key.h>
#include <linux/security.h>
#include <linux/cpu.h>
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists