Files
linux/include/asm-powerpc
Mathieu Desnoyers d4243c175f [POWERPC] Include pagemap.h in asm/powerpc/tlb.h
Fixes this powerpc build error in 2.6.22-rc6-mm1 for powerpc 64 with
CONFIG_SWAP=n :

In file included from include2/asm/tlb.h:60,
                 from /home/compudj/git/linux-2.6-lttng/arch/powerpc/mm/init_64.
c:56:
/home/compudj/git/linux-2.6-lttng/include/asm-generic/tlb.h: In function 'tlb_flush_mmu':
/home/compudj/git/linux-2.6-lttng/include/asm-generic/tlb.h:76: error: implicit declaration of function 'release_pages'
/home/compudj/git/linux-2.6-lttng/include/asm-generic/tlb.h: In function 'tlb_remove_page':
/home/compudj/git/linux-2.6-lttng/include/asm-generic/tlb.h:105: error: implicit declaration of function 'page_cache_release'
make[2]: *** [arch/powerpc/mm/init_64.o] Error 1

release_pages is declared in linux/pagemap.h, but cannot be included in
linux/swap.h because of a sparc related comment:

/* only sparc can not include linux/pagemap.h in this file
 * so leave page_cache_release and release_pages undeclared... */
#define free_page_and_swap_cache(page) \
        page_cache_release(page)
#define free_pages_and_swap_cache(pages, nr) \
        release_pages((pages), (nr), 0);

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-10-03 12:02:43 +10:00
..
…
…
…
…
…
2007-07-31 21:12:07 -07:00
…
…
2006-12-04 20:39:30 +11:00
2007-02-16 14:00:19 +11:00
…
…
…
2007-03-09 15:03:25 +11:00
2007-03-22 22:52:55 +11:00
…
2007-07-17 10:23:11 -07:00
…
…
…
…
…
2007-05-07 20:31:14 +10:00
…
…
2007-07-19 10:04:44 -07:00
…
2007-05-08 11:15:20 -07:00
2007-06-28 19:16:38 +10:00
…
…
2007-08-20 07:28:48 -05:00
2007-08-20 07:28:48 -05:00
2006-12-11 16:35:07 +11:00
2007-09-19 15:25:34 +10:00
…
…
…
2007-07-20 13:41:56 +10:00
2007-07-20 14:25:22 +10:00
…
2007-05-07 20:31:14 +10:00
…
2007-05-08 11:15:05 -07:00
2007-04-24 21:31:51 +10:00
2007-05-11 08:29:34 -07:00
2007-01-11 18:18:22 -08:00
2007-09-14 01:33:25 +10:00
2007-06-28 19:19:20 +10:00
2007-06-14 22:29:57 +10:00
…
…
…
…
…
…
…
…
…
2006-12-04 20:40:52 +11:00
…
…
2007-05-02 20:04:30 +10:00
…
2007-09-20 10:09:27 +10:00
2006-10-25 11:54:18 +10:00
2007-03-05 07:57:51 -08:00
2007-05-08 11:54:20 +10:00
…
…
2007-10-03 11:48:43 +10:00
…