Uwe Kleine-König 97594b0f35 ARM: 6757/1: fix tlb.h induced linux/swap.h build failure
Commit

	06824ba (ARM: tlb: delay page freeing for SMP and ARMv7 CPUs)

introduced a build failure for builds with CONFIG_SWAP=n:

	In file included from arch/arm/mm/init.c:27:
	arch/arm/include/asm/tlb.h: In function 'tlb_flush_mmu':
	arch/arm/include/asm/tlb.h:101: error: implicit declaration of function 'release_pages'
	arch/arm/include/asm/tlb.h: In function 'tlb_remove_page':
	arch/arm/include/asm/tlb.h:165: error: implicit declaration of function 'page_cache_release'

as linux/swap.h doesn't include linux/pagemap.h but actually needs it
(see comments in linux/swap.h as to why this is.)

Fix that by #including <linux/pagemap.h> in <asm/pgalloc.h> as it's done
by x86.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-02-23 16:19:21 +00:00
..
2011-01-06 22:32:03 +00:00
2009-02-01 11:01:22 +05:30
2011-01-06 22:32:03 +00:00
2009-03-15 21:01:20 -04:00
2009-05-29 08:40:02 -07:00
2010-12-19 12:56:46 -05:00
2010-10-16 22:57:38 +02:00
2010-10-07 14:08:55 +01:00
2010-08-14 22:26:51 +02:00
2010-10-29 13:14:40 -05:00
2010-06-09 11:12:36 +02:00
2010-10-27 21:41:39 +01:00
2010-04-22 21:38:11 +01:00
2009-12-18 16:07:53 +00:00
2010-10-01 22:32:18 -04:00
2010-07-16 10:57:35 +01:00
2008-09-04 09:46:11 +01:00
2008-11-27 12:37:59 +00:00
2011-01-06 22:32:52 +00:00
2010-10-01 22:32:18 -04:00
2011-01-06 22:32:52 +00:00
2008-09-06 12:10:45 +01:00