Commit 0968bd40 authored by Jesse Barnes's avatar Jesse Barnes Committed by Tony Luck

[IA64] Add include pagemap.h to tlb.h to fix warnings when CONFIG_SWAP=n.

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: default avatarJesse Barnes <jbarnes@sgi.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 01b635de
......@@ -39,6 +39,7 @@
*/
#include <linux/config.h>
#include <linux/mm.h>
#include <linux/pagemap.h>
#include <linux/swap.h>
#include <asm/pgalloc.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment