diff options
author | Ben Hutchings | 2012-01-10 04:04:32 +0100 |
---|---|---|
committer | Linus Torvalds | 2012-01-12 00:50:11 +0100 |
commit | 9f13a1fd452f11c18004ba2422a6384b424ec8a9 (patch) | |
tree | 6aa799a5e095f8cfa03c7386e6d0a20ebda595e4 /arch/score/Kconfig | |
parent | cpu: Do not return errors from cpu_dev_init() which will be ignored (diff) | |
download | kernel-qcow2-linux-9f13a1fd452f11c18004ba2422a6384b424ec8a9.tar.gz kernel-qcow2-linux-9f13a1fd452f11c18004ba2422a6384b424ec8a9.tar.xz kernel-qcow2-linux-9f13a1fd452f11c18004ba2422a6384b424ec8a9.zip |
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>
Diffstat (limited to 'arch/score/Kconfig')
-rw-r--r-- | arch/score/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/score/Kconfig b/arch/score/Kconfig index 3df65d39abc1..4b285779ac05 100644 --- a/arch/score/Kconfig +++ b/arch/score/Kconfig @@ -8,6 +8,7 @@ config SCORE select HAVE_MEMBLOCK select HAVE_MEMBLOCK_NODE_MAP select ARCH_DISCARD_MEMBLOCK + select GENERIC_CPU_DEVICES choice prompt "System type" |