summaryrefslogtreecommitdiffstats
path: root/arch/avr32
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2011-01-24 13:51:58 +0100
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2011-01-26 12:35:15 +0100
commit6cb8e872c800be55496a56d1e1a6aafba8fa936d (patch)
treed39ebe71cebd757066eb81dcdaf706dd1f447f38 /arch/avr32
parentLinux 2.6.38-rc2 (diff)
downloadlinux-6cb8e872c800be55496a56d1e1a6aafba8fa936d.tar.xz
linux-6cb8e872c800be55496a56d1e1a6aafba8fa936d.zip
avr32: add missing include causing undefined pgtable_page_* references
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>
Diffstat (limited to 'arch/avr32')
-rw-r--r--arch/avr32/include/asm/pgalloc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/avr32/include/asm/pgalloc.h b/arch/avr32/include/asm/pgalloc.h
index 92ecd8446ef8..bc7e8ae479ee 100644
--- a/arch/avr32/include/asm/pgalloc.h
+++ b/arch/avr32/include/asm/pgalloc.h
@@ -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>