Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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 */