summaryrefslogtreecommitdiffstats
path: root/arch/nds32/mm/mm-nds32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/mm/mm-nds32.c')
-rw-r--r--arch/nds32/mm/mm-nds32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/nds32/mm/mm-nds32.c b/arch/nds32/mm/mm-nds32.c
index 8503bee882d1..55bec50ccc03 100644
--- a/arch/nds32/mm/mm-nds32.c
+++ b/arch/nds32/mm/mm-nds32.c
@@ -2,6 +2,8 @@
// Copyright (C) 2005-2017 Andes Technology Corporation
#include <linux/init_task.h>
+
+#define __HAVE_ARCH_PGD_FREE
#include <asm/pgalloc.h>
#define FIRST_KERNEL_PGD_NR (USER_PTRS_PER_PGD)