Просмотр исходного кода

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>
Corey Minyard 12 лет назад
Родитель
Сommit
5bbea36ab9
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      arch/mips/include/asm/pgtable.h

+ 1 - 0
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>