i386: pgd_{c,d}tor() static

pgd_{c,d}tor() can now become static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Adrian Bunk 2007-07-21 17:11:07 +02:00 committed by Linus Torvalds
parent 3cc39bda26
commit 2378569dd1

View file

@ -235,7 +235,7 @@ static inline void pgd_list_del(pgd_t *pgd)
#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 @@ void pgd_ctor(void *pgd)
}
#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 @@ void pgd_ctor(void *pgd)
}
#endif /* PTRS_PER_PMD */
void pgd_dtor(void *pgd)
static void pgd_dtor(void *pgd)
{
unsigned long flags; /* can be called from interrupt context */