]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit174e85b2b2b297ee0ccce7574e54fd4e91339946
tree6aa799a5e095f8cfa03c7386e6d0a20ebda595e4
parent5d3220ec9d03c8248a0f5009eda92c16faeca404
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