summaryrefslogtreecommitdiffstats
path: root/drivers/base/Makefile
diff options
context:
space:
mode:
authorBen Hutchings2011-11-24 08:04:39 +0100
committerGreg Kroah-Hartman2011-11-27 05:12:47 +0100
commitccbc60d3e19a1b6ae66ca0d89b3da02dde62088b (patch)
tree69d5fa8774598183ef650f44608fa89044e19ebf /drivers/base/Makefile
parentdebugfs: remove unneeded cast in debugfs_print_regs32() (diff)
downloadkernel-qcow2-linux-ccbc60d3e19a1b6ae66ca0d89b3da02dde62088b.tar.gz
kernel-qcow2-linux-ccbc60d3e19a1b6ae66ca0d89b3da02dde62088b.tar.xz
kernel-qcow2-linux-ccbc60d3e19a1b6ae66ca0d89b3da02dde62088b.zip
topology: Provide CPU topology in sysfs in !SMP configurations
We should provide topology information to userland even if it's not very interesting. The current code appears to work properly for !SMP (tested on i386). Reference: http://bugs.debian.org/649216 Reported-by: Marcus Osdoba <marcus.osdoba@googlemail.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/Makefile')
-rw-r--r--drivers/base/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/Makefile b/drivers/base/Makefile
index 99a375ad2cc9..1334d893b560 100644
--- a/drivers/base/Makefile
+++ b/drivers/base/Makefile
@@ -3,7 +3,8 @@
obj-y := core.o sys.o bus.o dd.o syscore.o \
driver.o class.o platform.o \
cpu.o firmware.o init.o map.o devres.o \
- attribute_container.o transport_class.o
+ attribute_container.o transport_class.o \
+ topology.o
obj-$(CONFIG_DEVTMPFS) += devtmpfs.o
obj-y += power/
obj-$(CONFIG_HAS_DMA) += dma-mapping.o
@@ -12,7 +13,6 @@ obj-$(CONFIG_ISA) += isa.o
obj-$(CONFIG_FW_LOADER) += firmware_class.o
obj-$(CONFIG_NUMA) += node.o
obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
-obj-$(CONFIG_SMP) += topology.o
ifeq ($(CONFIG_SYSFS),y)
obj-$(CONFIG_MODULES) += module.o
endif