summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorCorey Minyard <cminyard@mvista.com>2013-04-08 16:06:35 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-04-08 16:24:41 +0200
commit5bbea36ab9b7d08b8219c14acc13efc48404c80e (patch)
treed1c8cf78e6763937487ee725a734477af922bb84 /arch
parentf4cdb6a00c148e7724ada0998643b293a52b5f62 (diff)
MIPS: Add linux/mm_types.h to pgtable.h
With the addition of transparent huge pages, pgtable.h uses struct page. However, it is possible to include pgtable.h without anything defining struct page. So add the include to get it. Signed-off-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/include/asm/pgtable.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/pgtable.h b/arch/mips/include/asm/pgtable.h
index fdc62fb5630d..8b8f6b393363 100644
--- a/arch/mips/include/asm/pgtable.h
+++ b/arch/mips/include/asm/pgtable.h
@@ -8,6 +8,7 @@
#ifndef _ASM_PGTABLE_H
#define _ASM_PGTABLE_H
+#include <linux/mm_types.h>
#include <linux/mmzone.h>
#ifdef CONFIG_32BIT
#include <asm/pgtable-32.h>