topology: Provide CPU topology in sysfs in !SMP configurations
authorBen Hutchings <ben@decadent.org.uk>
Thu, 24 Nov 2011 07:04:39 +0000 (07:04 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Nov 2011 04:12:47 +0000 (20:12 -0800)
commitccbc60d3e19a1b6ae66ca0d89b3da02dde62088b
tree69d5fa8774598183ef650f44608fa89044e19ebf
parent5858441c95587c6869950314742d99e6a03a2d16
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>
drivers/base/Makefile