Re: [2.6 patch] linux/swap.h must #include <linux/pagemap.h>

From: Haavard Skinnemoen
Date: Sat Jul 26 2008 - 14:31:18 EST


On Sat, 26 Jul 2008 20:38:32 +0300
Adrian Bunk <bunk@xxxxxxxxxx> wrote:

> The patch is not the correct fix since the actual problem comes from
> free_pages_and_swap_cache() in swap.h

True, but I saw this comment in swap.h:

/* only sparc can not include linux/pagemap.h in this file
* so leave page_cache_release and release_pages undeclared... */

so I thought it might be safer to add the include to tlb.h instead.

Haavard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/