Re: 2.6.21-rc5-mm3 - no boot, "address not 2M aligned"

From: Andrew Morton
Date: Sun Apr 01 2007 - 02:30:32 EST


On Sun, 01 Apr 2007 00:15:51 -0600 ebiederm@xxxxxxxxxxxx (Eric W. Biederman) wrote:

> Does anyone know how to express the constraint of a 2M aligned number in Kconfig?

Nope, but we could make CONFIG_PHYSICAL_START be in units of 2MB, which
would be a bit hard to use.

Adding a BUILD_BUG_ON which checks this constraint might help. Plus a
useful comment right at the BUILD_BUG_ON site explaining what to do about
it.

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