From: Adrian Bunk <bunk@stusta.de>
To: Christoph Lameter <clameter@sgi.com>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] make arch/i386/mm/pgtable.c:pgd_{c,d}tor() static
Date: Sat, 2 Jun 2007 21:08:44 +0200 [thread overview]
Message-ID: <20070602190844.GJ5500@stusta.de> (raw)
pgd_{c,d}tor() can now become static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
---
arch/i386/mm/pgtable.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.22-rc3-mm1/arch/i386/mm/pgtable.c.old 2007-06-02 19:16:38.000000000 +0200
+++ linux-2.6.22-rc3-mm1/arch/i386/mm/pgtable.c 2007-06-02 19:18:26.000000000 +0200
@@ -235,7 +235,7 @@
#if (PTRS_PER_PMD == 1)
/* Non-PAE pgd constructor */
-void pgd_ctor(void *pgd)
+static void pgd_ctor(void *pgd)
{
unsigned long flags;
@@ -257,7 +257,7 @@
}
#else /* PTRS_PER_PMD > 1 */
/* PAE pgd constructor */
-void pgd_ctor(void *pgd)
+static void pgd_ctor(void *pgd)
{
/* PAE, kernel PMD may be shared */
@@ -276,7 +276,7 @@
}
#endif /* PTRS_PER_PMD */
-void pgd_dtor(void *pgd)
+static void pgd_dtor(void *pgd)
{
unsigned long flags; /* can be called from interrupt context */
next reply other threads:[~2007-06-02 19:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-02 19:08 Adrian Bunk [this message]
2007-06-02 23:26 ` [2.6 patch] make arch/i386/mm/pgtable.c:pgd_{c,d}tor() static Christoph Lameter
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=20070602190844.GJ5500@stusta.de \
--to=bunk@stusta.de \
--cc=clameter@sgi.com \
--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.