Re: [PATCH] Clean up asm/pgalloc.h include (sh)

From: Hugh Dickins
Date: Tue Apr 20 2004 - 11:03:35 EST

On Tue, 20 Apr 2004, Paul Mundt wrote:
> Failed to compile. sh has ptep_get_and_clear in asm/pgalloc.h.
> This moves it out of the way, and your patch builds fine.

Paul, the patch you show reflects how ptep_get_and_clear looked in
2.6.5, but not how it now looks in 2.6.6-rc1-bk - should be using
page_mapping(page) and mapping_writably_mapped(mapping).

I dare say you're referring to a master tree into which the recent
mainline changes need to be ported (I CC'ed gniibe@xxxxxxxx when
sending those changes to akpm): I'm not saying your version is
wrong, just trying to make sure that two sets of changes in the
same area don't end up with one set getting lost.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at