Re: [PATCH 1/4] x86: clean up asm-x86/page*.h

From: Harvey Harrison
Date: Fri Dec 14 2007 - 05:10:14 EST


On Fri, 2007-12-14 at 00:12 -0800, Jeremy Fitzhardinge wrote:
> Unify common definitions in page*.h. To simplify other code, I added
> typedefs for the value of pte/pmd/pud/pgd values, so they can be used
> symbolically elsewhere without needing to have lots of 32/64/PAE
> tests.
>
> Also, add PAGETABLE_LEVELS define so that other definitions can test
> for it directly rather than using indirect 32/64/PAE tests.
>
> Signed-off-by: Jeremy Fitzhardinge <Jeremy.Fitzhardinge@xxxxxxxxxx>

I've been looking at unifying pageattr_32|64.c, if you're headed there
soon I'll look elsewhere, otherwise I'll build on top of this work.

Harvey

--
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/