Re: [PATCH] zone table removal miss merge

From: Christoph Lameter
Date: Wed Sep 27 2006 - 12:19:26 EST

On Wed, 27 Sep 2006, Andy Whitcroft wrote:

> The below should fix it.

Acked-by: Christoph Lameter <clameter@xxxxxxx>

Note that if ZONE_DMA is off then ZONES_WIDTH may become
0 and therefore also ZONES_PGSHIFT is zero.

If you then do


then ZONEID_PGSHIFT will be 0!

So this could be an issue for the optional ZONE_DMA patch.

Could you also make sure that ZONEID_PGSHIFT is set correctly even if
ZONES_WIDTH is zero?

This affects the optional ZONE_DMA patch. zone table removal should be
fine with just the above patch.

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