提交 2378569d 编写于 作者: A Adrian Bunk 提交者: Linus Torvalds

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

pgd_{c,d}tor() can now become static.
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NAndi Kleen <ak@suse.de>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 3cc39bda
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册