Commit 2378569d authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

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

pgd_{c,d}tor() can now become static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3cc39bda
...@@ -235,7 +235,7 @@ static inline void pgd_list_del(pgd_t *pgd) ...@@ -235,7 +235,7 @@ static inline void pgd_list_del(pgd_t *pgd)
#if (PTRS_PER_PMD == 1) #if (PTRS_PER_PMD == 1)
/* Non-PAE pgd constructor */ /* Non-PAE pgd constructor */
void pgd_ctor(void *pgd) static void pgd_ctor(void *pgd)
{ {
unsigned long flags; unsigned long flags;
...@@ -257,7 +257,7 @@ void pgd_ctor(void *pgd) ...@@ -257,7 +257,7 @@ void pgd_ctor(void *pgd)
} }
#else /* PTRS_PER_PMD > 1 */ #else /* PTRS_PER_PMD > 1 */
/* PAE pgd constructor */ /* PAE pgd constructor */
void pgd_ctor(void *pgd) static void pgd_ctor(void *pgd)
{ {
/* PAE, kernel PMD may be shared */ /* PAE, kernel PMD may be shared */
...@@ -276,7 +276,7 @@ void pgd_ctor(void *pgd) ...@@ -276,7 +276,7 @@ void pgd_ctor(void *pgd)
} }
#endif /* PTRS_PER_PMD */ #endif /* PTRS_PER_PMD */
void pgd_dtor(void *pgd) static void pgd_dtor(void *pgd)
{ {
unsigned long flags; /* can be called from interrupt context */ unsigned long flags; /* can be called from interrupt context */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment