public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] make arch/i386/mm/pgtable.c:pgd_{c,d}tor() static
@ 2007-06-02 19:08 Adrian Bunk
  2007-06-02 23:26 ` Christoph Lameter
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2007-06-02 19:08 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: linux-kernel

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 */
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-02 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-02 19:08 [2.6 patch] make arch/i386/mm/pgtable.c:pgd_{c,d}tor() static Adrian Bunk
2007-06-02 23:26 ` Christoph Lameter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox