summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2012-01-10 03:04:32 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-11 15:50:11 -0800
commit9f13a1fd452f11c18004ba2422a6384b424ec8a9 (patch)
tree6aa799a5e095f8cfa03c7386e6d0a20ebda595e4 /arch/m68k
parent024f78462c3da710642a54939888a92e28704653 (diff)
downloadop-kernel-dev-9f13a1fd452f11c18004ba2422a6384b424ec8a9.zip
op-kernel-dev-9f13a1fd452f11c18004ba2422a6384b424ec8a9.tar.gz
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/m68k')
-rw-r--r--arch/m68k/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig
index 99c3636..ae413d4 100644
--- a/arch/m68k/Kconfig
+++ b/arch/m68k/Kconfig
@@ -6,6 +6,7 @@ config M68K
select HAVE_GENERIC_HARDIRQS
select GENERIC_IRQ_SHOW
select ARCH_HAVE_NMI_SAFE_CMPXCHG if RMW_INSNS
+ select GENERIC_CPU_DEVICES
config RWSEM_GENERIC_SPINLOCK
bool
OpenPOWER on IntegriCloud