Skip to content

Commit

Permalink
i386: pgd_{c,d}tor() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jul 22, 2007
1 parent 3cc39bd commit 2378569
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/i386/mm/pgtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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 */

Expand All @@ -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 */

Expand Down

0 comments on commit 2378569

Please sign in to comment.