Skip to content

Commit ccbc60d

Browse files
bwhacksgregkh
authored andcommitted
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>
1 parent 5858441 commit ccbc60d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎drivers/base/Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
obj-y := core.o sys.o bus.o dd.o syscore.o \
44
driver.o class.o platform.o \
55
cpu.o firmware.o init.o map.o devres.o \
6-
attribute_container.o transport_class.o
6+
attribute_container.o transport_class.o \
7+
topology.o
78
obj-$(CONFIG_DEVTMPFS) += devtmpfs.o
89
obj-y += power/
910
obj-$(CONFIG_HAS_DMA) += dma-mapping.o
@@ -12,7 +13,6 @@ obj-$(CONFIG_ISA) += isa.o
1213
obj-$(CONFIG_FW_LOADER) += firmware_class.o
1314
obj-$(CONFIG_NUMA) += node.o
1415
obj-$(CONFIG_MEMORY_HOTPLUG_SPARSE) += memory.o
15-
obj-$(CONFIG_SMP) += topology.o
1616
ifeq ($(CONFIG_SYSFS),y)
1717
obj-$(CONFIG_MODULES) += module.o
1818
endif

0 commit comments

Comments
 (0)