fix missing header in tlb.h
PATCH 1/1 fix missing header in tlb.h
I noticed when building with CONFIG_SWAP=n that tlb.h gave a warning about some undefined symbols. This is because it was pulling them in through swap.h, but when CONFIG_SWAP=n, they're no longer pulled in. Adding pagemap.h to tlb.h fixes the problem.
Signed-off-by Jesse Barnes <[email protected]>
Jesse
===== include/asm-ia64/tlb.h 1.22 vs edited =====
include/asm-ia64/tlb.h +1 -0
@@ -39,6 +39,7 @@*/ #include <linux/config.h> #include <linux/mm.h> +#include <linux/pagemap.h> #include <linux/swap.h> #include <asm/pgalloc.h>