Skip to contentSkip to conversation

fix missing header in tlb.h

PATCH New Jesse Barnes 1 participant 1 message Aug 20, 2004

lore
Share & tools
lore
#0 lore raw

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.

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>