projects/linux·commit ebd33e11

CRIS tlb.h should include linux/pagemap.h

ebd33e11 · Jesper Nilsson <[email protected]> · 2007-11-14 17:01:28 -08:00

Include linux/pagemap.h for release_pages and page_cache_release.

Fixes compilation error in arch/cris/mm/init.c when CONFIG_SWAP is unset.

Signed-off-by: Jesper Nilsson <[email protected]>
Cc: Mikael Starvik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
ebd33e11c3bef555573510d8677d626ebaa1eccd
Parents
57c230a8

Changes

1 files changed · +2 −0

FileStatusAddDelContent
include/asm-cris/tlb.hmodified+2−0View file

include/asm-cris/tlb.h

View file
diff --git a/include/asm-cris/tlb.h b/include/asm-cris/tlb.h
index 6cc26de..7724246 100644
--- a/include/asm-cris/tlb.h
+++ b/include/asm-cris/tlb.h
@@ -1,6 +1,8 @@
#ifndef _CRIS_TLB_H
#define _CRIS_TLB_H
+#include <linux/pagemap.h>
+
#include <asm/arch/tlb.h>
/*