diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-01-09 22:04:32 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-11 18:50:11 -0500 |
commit | 9f13a1fd452f11c18004ba2422a6384b424ec8a9 (patch) | |
tree | 6aa799a5e095f8cfa03c7386e6d0a20ebda595e4 /drivers/base/Kconfig | |
parent | 024f78462c3da710642a54939888a92e28704653 (diff) |
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 'drivers/base/Kconfig')
-rw-r--r-- | drivers/base/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index e95c67edb2cb..fcbec8ac134d 100644 --- a/drivers/base/Kconfig +++ b/drivers/base/Kconfig | |||
@@ -172,6 +172,10 @@ config SYS_HYPERVISOR | |||
172 | bool | 172 | bool |
173 | default n | 173 | default n |
174 | 174 | ||
175 | config GENERIC_CPU_DEVICES | ||
176 | bool | ||
177 | default n | ||
178 | |||
175 | source "drivers/base/regmap/Kconfig" | 179 | source "drivers/base/regmap/Kconfig" |
176 | 180 | ||
177 | config DMA_SHARED_BUFFER | 181 | config DMA_SHARED_BUFFER |