avr32: add missing include causing undefined pgtable_page_* references
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Mon, 24 Jan 2011 12:51:58 +0000 (13:51 +0100)
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Wed, 26 Jan 2011 11:35:15 +0000 (12:35 +0100)
This patch adds the linux/mm.h header file to the AVR32 arch pgalloc.c
implementation to fix the undefined reference to pgtable_page_ctor() and
pgtable_page_dtor().

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
arch/avr32/include/asm/pgalloc.h

index 92ecd8446ef80b6fe06c62bce45fe93a40f344bb..bc7e8ae479ee4f7f9be717cbcd38d0731773a6f9 100644 (file)
@@ -8,6 +8,7 @@
 #ifndef __ASM_AVR32_PGALLOC_H
 #define __ASM_AVR32_PGALLOC_H
 
+#include <linux/mm.h>
 #include <linux/quicklist.h>
 #include <asm/page.h>
 #include <asm/pgtable.h>