]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc: Enforce sane MAX_ORDER
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 24 Sep 2008 04:29:08 +0000 (04:29 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 7 Oct 2008 03:26:20 +0000 (14:26 +1100)
commitebe40c5c4c888f2cbfd9f0880a8bc072e6fc3a0d
tree165f42619606c83fbc8b87016aa67e50448a7094
parent2e2b4043cc0a2c11abbe4fdff6dce3f81cff3e30
powerpc: Enforce sane MAX_ORDER

powerpc uses CONFIG_FORCE_MAX_ZONEORDER, and some things depend on it
being at least 10 when 64k pages are not configured (notably the dart
iommu code with CONFIG_PM). The defaults are fine, but when going from a
64K pages config to one without 64K pages, MAX_ORDER stays at 9 which is
too low for 4K pages.

This patch makes the Kconfig enforce at least the defaults.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig