From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] kernel/exit.c: make exit_mm static
Date: Sun, 27 Mar 2005 16:34:58 +0200 [thread overview]
Message-ID: <20050327143458.GK4285@stusta.de> (raw)
This patch makes a needlessly global function static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
This patch was already sent on:
- 3 Mar 2005
include/linux/sched.h | 1 -
kernel/exit.c | 4 +++-
2 files changed, 3 insertions(+), 2 deletions(-)
--- linux-2.6.11-rc5-mm1-full/include/linux/sched.h.old 2005-03-03 14:52:53.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/include/linux/sched.h 2005-03-03 14:55:02.000000000 +0100
@@ -1030,7 +1030,6 @@
extern void flush_thread(void);
extern void exit_thread(void);
-extern void exit_mm(struct task_struct *);
extern void exit_files(struct task_struct *);
extern void exit_signal(struct task_struct *);
extern void __exit_signal(struct task_struct *);
--- linux-2.6.11-rc5-mm1-full/kernel/exit.c.old 2005-03-03 14:53:48.000000000 +0100
+++ linux-2.6.11-rc5-mm1-full/kernel/exit.c 2005-03-03 14:55:28.000000000 +0100
@@ -39,6 +39,8 @@
int getrusage(struct task_struct *, int, struct rusage __user *);
+static void exit_mm(struct task_struct * tsk);
+
static void __unhash_process(struct task_struct *p)
{
nr_threads--;
@@ -475,7 +477,7 @@
* Turn us into a lazy TLB process if we
* aren't already..
*/
-void exit_mm(struct task_struct * tsk)
+static void exit_mm(struct task_struct * tsk)
{
struct mm_struct *mm = tsk->mm;
next reply other threads:[~2005-03-27 14:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-27 14:34 Adrian Bunk [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-03-03 21:39 [2.6 patch] kernel/exit.c: make exit_mm static Adrian Bunk
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=20050327143458.GK4285@stusta.de \
--to=bunk@stusta.de \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.