]> git.hungrycats.org Git - linux/commitdiff
[IA64] Add include pagemap.h to tlb.h to fix warnings when CONFIG_SWAP=n.
authorJesse Barnes <jbarnes@sgi.com>
Wed, 25 Aug 2004 17:39:35 +0000 (17:39 +0000)
committerTony Luck <tony.luck@intel.com>
Wed, 25 Aug 2004 17:39:35 +0000 (17:39 +0000)
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 <jbarnes@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/tlb.h

index 6019e2376b5c1dea02c5d959776c8efbd85dd3f9..aefe2e87b41ce1697c5610e72dbd61e037e0c7f0 100644 (file)
@@ -39,6 +39,7 @@
  */
 #include <linux/config.h>
 #include <linux/mm.h>
+#include <linux/pagemap.h>
 #include <linux/swap.h>
 
 #include <asm/pgalloc.h>