From: Jack Miller <millerjo@us.ibm.com>
To: linux-kernel@vger.kernel.org
Cc: mikey@au1.ibm.com, anton@au1.ibm.com, miltonm@us.ibm.com
Subject: [PATCH 3/3] shm: Remove unneeded extern for function
Date: Wed, 4 Jun 2014 14:07:48 -0500 [thread overview]
Message-ID: <1401908868-14554-4-git-send-email-millerjo@us.ibm.com> (raw)
In-Reply-To: <1401908868-14554-1-git-send-email-millerjo@us.ibm.com>
A small cleanup while changing adjacent code. Extern is not needed
for functions and only one declaration had it so remove it from the
odd line.
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Jack Miller <millerjo@us.ibm.com>
---
include/linux/shm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/shm.h b/include/linux/shm.h
index 38a70a2..e0daca0 100644
--- a/include/linux/shm.h
+++ b/include/linux/shm.h
@@ -53,7 +53,7 @@ struct sysv_shm {
long do_shmat(int shmid, char __user *shmaddr, int shmflg, unsigned long *addr,
unsigned long shmlba);
-extern int is_file_shm_hugepages(struct file *file);
+int is_file_shm_hugepages(struct file *file);
void exit_shm(struct task_struct *task);
#define shm_init_task(task) INIT_LIST_HEAD(&(task)->sysvshm.shm_clist)
#else
--
1.9.1
next prev parent reply other threads:[~2014-06-04 19:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-04 19:07 shm: shm_exit scalability fixes Jack Miller
2014-06-04 19:07 ` [PATCH 1/3] shm: Make exit_shm work proportional to task activity Jack Miller
2014-06-04 19:07 ` [PATCH 2/3] shm: Allow exit_shm in parallel if only marking orphans Jack Miller
2014-06-04 19:07 ` Jack Miller [this message]
2014-06-17 17:27 [RESEND] shm: shm exit scalability fixes Jack Miller
2014-06-17 17:27 ` [PATCH 3/3] shm: Remove unneeded extern for function Jack Miller
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=1401908868-14554-4-git-send-email-millerjo@us.ibm.com \
--to=millerjo@us.ibm.com \
--cc=anton@au1.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mikey@au1.ibm.com \
--cc=miltonm@us.ibm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®