Re: [PATCH] Remove 8 bytes from struct page on 64bit archs

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Sun, 06 Jan 2002 10:02:30 -0300


Anton Blanchard <anton@samba.org> said:

[...]

> Here is a very simple patch (ppc64 only so far). For archs that have
> more than one memory zone, they should define the following:
>
> #define ARCH_NR_ZONES 3
> #define GET_PAGE_ZONE(page) (page)->zone
> #define SET_PAGE_ZONE(page, __zone) (page)->zone = (__zone)

Better sprinkle in a few more ()'s...

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Vin~a del Mar, Chile                               +56 32 672616
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/