From: Dave Young <hidave.darkstar@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>, Andi Kleen <ak@linux.intel.com>,
Hugh Dickins <hugh.dickins@tiscali.co.uk>,
Nick Piggin <npiggin@suse.de>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
James Morris <jmorris@namei.org>,
"Eric W. Biederman" <ebiederm@xmission.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [PATCH 06/18] sysctl extern cleanup - mm
Date: Sat, 20 Feb 2010 22:12:41 +0800 [thread overview]
Message-ID: <20100220141241.GE3195@darkstar> (raw)
Extern declarations in sysctl.c should be move to their own head file,
and then include them in relavant .c files.
Move min_free_kbytes extern declaration to linux/mm.h
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
---
include/linux/mm.h | 1 +
kernel/sysctl.c | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.32.orig/include/linux/mm.h 2010-02-20 14:02:25.281592573 +0800
+++ linux-2.6.32/include/linux/mm.h 2010-02-20 14:14:21.374855298 +0800
@@ -31,6 +31,7 @@ extern int page_cluster;
#ifdef CONFIG_SYSCTL
extern int sysctl_legacy_va_layout;
+extern int min_free_kbytes;
#else
#define sysctl_legacy_va_layout 0
#endif
--- linux-2.6.32.orig/kernel/sysctl.c 2010-02-20 14:13:08.415694935 +0800
+++ linux-2.6.32/kernel/sysctl.c 2010-02-20 14:13:28.511525875 +0800
@@ -72,7 +72,6 @@
#if defined(CONFIG_SYSCTL)
/* External variables not in a header file. */
-extern int min_free_kbytes;
extern int compat_log;
extern int latencytop_enabled;
extern int sysctl_nr_open_min, sysctl_nr_open_max;
WARNING: multiple messages have this Message-ID (diff)
From: Dave Young <hidave.darkstar@gmail.com>
To: Andrew Morton <akpm@linux-foundation.org>,
Ingo Molnar <mingo@elte.hu>, Andi Kleen <ak@linux.intel.com>,
Hugh Dickins <hugh.dickins@tiscali.co.uk>,
Nick Piggin <npiggin@suse.de>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
James Morris <jmorris@namei.org>,
"Eric W. Biederman" <ebiederm@xmission.com>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: [PATCH 06/18] sysctl extern cleanup - mm
Date: Sat, 20 Feb 2010 22:12:41 +0800 [thread overview]
Message-ID: <20100220141241.GE3195@darkstar> (raw)
Extern declarations in sysctl.c should be move to their own head file,
and then include them in relavant .c files.
Move min_free_kbytes extern declaration to linux/mm.h
Signed-off-by: Dave Young <hidave.darkstar@gmail.com>
---
include/linux/mm.h | 1 +
kernel/sysctl.c | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2.6.32.orig/include/linux/mm.h 2010-02-20 14:02:25.281592573 +0800
+++ linux-2.6.32/include/linux/mm.h 2010-02-20 14:14:21.374855298 +0800
@@ -31,6 +31,7 @@ extern int page_cluster;
#ifdef CONFIG_SYSCTL
extern int sysctl_legacy_va_layout;
+extern int min_free_kbytes;
#else
#define sysctl_legacy_va_layout 0
#endif
--- linux-2.6.32.orig/kernel/sysctl.c 2010-02-20 14:13:08.415694935 +0800
+++ linux-2.6.32/kernel/sysctl.c 2010-02-20 14:13:28.511525875 +0800
@@ -72,7 +72,6 @@
#if defined(CONFIG_SYSCTL)
/* External variables not in a header file. */
-extern int min_free_kbytes;
extern int compat_log;
extern int latencytop_enabled;
extern int sysctl_nr_open_min, sysctl_nr_open_max;
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2010-02-20 14:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-20 14:12 Dave Young [this message]
2010-02-20 14:12 ` [PATCH 06/18] sysctl extern cleanup - mm Dave Young
2010-02-21 0:58 ` David Rientjes
2010-02-21 0:58 ` David Rientjes
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=20100220141241.GE3195@darkstar \
--to=hidave.darkstar@gmail.com \
--cc=a.p.zijlstra@chello.nl \
--cc=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=ebiederm@xmission.com \
--cc=hugh.dickins@tiscali.co.uk \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mingo@elte.hu \
--cc=npiggin@suse.de \
/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.