]> git.baikalelectronics.ru Git - kernel.git/commit
of: Only compile OF_DYNAMIC on PowerPC pseries and iseries
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 16 Feb 2012 03:38:40 +0000 (20:38 -0700)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 21 Feb 2012 20:33:00 +0000 (13:33 -0700)
commit24a88b687ac1e657a800641b66b2c489c82b1967
tree680ec5999048bd79f665ddeaa8bcaa259ee53ed7
parentb1cf38f933cc5951d176bef055993cf257259970
of: Only compile OF_DYNAMIC on PowerPC pseries and iseries

Only two architectures use the OF node reference counting and reclaim bits.
There is no need to compile it for the rest of the PowerPC platforms or for
any of the other architectures.  This patch makes iseries and pseries
select CONFIG_OF_DYNAMIC, and makes it default to off for everything else.

It is still safe to turn on CONFIG_OF_DYNAMIC on all architectures, it just
isn't necessary.

v2: Also select OF_DYNAMIC for PPC_CHROMA and MPC885ADS as reported by Michael
    Meuling

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Jimi Xenidis <jimix@pobox.com> (for PPC_CHROMA bug fix)
Cc: Rob Herring <rob.herring@calxeda.com>
arch/powerpc/platforms/8xx/Kconfig
arch/powerpc/platforms/iseries/Kconfig
arch/powerpc/platforms/pseries/Kconfig
arch/powerpc/platforms/wsp/Kconfig
drivers/of/Kconfig
drivers/of/base.c
include/linux/of.h