summaryrefslogtreecommitdiffstats
path: root/arch/sh/mm/pgtable.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--arch/sh/mm/pgtable.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/sh/mm/pgtable.c b/arch/sh/mm/pgtable.c
index cf7ce4b573..3a4085ea01 100644
--- a/arch/sh/mm/pgtable.c
+++ b/arch/sh/mm/pgtable.c
@@ -2,12 +2,14 @@
#include <linux/mm.h>
#include <linux/slab.h>
+#include <asm/pgalloc.h>
+
static struct kmem_cache *pgd_cachep;
#if PAGETABLE_LEVELS > 2
static struct kmem_cache *pmd_cachep;
#endif
-void pgd_ctor(void *x)
+static void pgd_ctor(void *x)
{
pgd_t *pgd = x;