From: Randy Dunlap <randy.dunlap@oracle•com>
To: linux-next@vger•kernel.org
Cc: lkml <linux-kernel@vger•kernel.org>, mingo <mingo@redhat•com>,
tglx <tglx@linutronix•de>, hpa <hpa@zytor•com>,
akpm <akpm@linux-foundation•org>
Subject: [PATCH -next] fork and exit: need to include iocontext.h
Date: Mon, 30 Jun 2008 10:54:58 -0700 [thread overview]
Message-ID: <20080630105458.7c95e195.randy.dunlap@oracle.com> (raw)
From: Randy Dunlap <randy.dunlap@oracle•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@oracle•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/
next reply other threads:[~2008-06-30 17:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-30 17:54 Randy Dunlap [this message]
2008-06-30 18:05 ` [PATCH -next] fork and exit: need to include iocontext.h Ingo Molnar
2008-06-30 18:22 ` Randy Dunlap
2008-06-30 18:33 ` Ingo Molnar
2008-06-30 18:39 ` Randy Dunlap
2008-06-30 18:47 ` Ingo Molnar
2008-07-01 0:34 ` Stephen Rothwell
2008-06-30 18:38 ` Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080630105458.7c95e195.randy.dunlap@oracle.com \
--to=randy.dunlap@oracle$(echo .)com \
--cc=akpm@linux-foundation$(echo .)org \
--cc=hpa@zytor$(echo .)com \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-next@vger$(echo .)kernel.org \
--cc=mingo@redhat$(echo .)com \
--cc=tglx@linutronix$(echo .)de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox