cpu: Register a generic CPU device on architectures that currently do not
authorBen Hutchings <ben@decadent.org.uk>
Tue, 10 Jan 2012 03:04:32 +0000 (03:04 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 23:50:11 +0000 (15:50 -0800)
commit9f13a1fd452f11c18004ba2422a6384b424ec8a9
tree6aa799a5e095f8cfa03c7386e6d0a20ebda595e4
parent024f78462c3da710642a54939888a92e28704653
cpu: Register a generic CPU device on architectures that currently do not

frv, h8300, m68k, microblaze, openrisc, score, um and xtensa currently
do not register a CPU device.  Add the config option GENERIC_CPU_DEVICES
which causes a generic CPU device to be registered for each present CPU,
and make all these architectures select it.

Richard Weinberger <richard@nod.at> covered UML and suggested using
per_cpu.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/Kconfig
arch/h8300/Kconfig
arch/m68k/Kconfig
arch/microblaze/Kconfig
arch/openrisc/Kconfig
arch/score/Kconfig
arch/um/Kconfig.common
arch/xtensa/Kconfig
drivers/base/Kconfig
drivers/base/cpu.c