From: Jan Beulich Date: Tue, 27 Apr 2010 21:01:20 +0000 (-0700) Subject: drivers/base/cpu.c: fix the output from /sys/devices/system/cpu/offline X-Git-Tag: v2.6.35-rc1~459^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdc6e3d3968052cebb2f2ddcd742bff29fbd1a90;p=pandora-kernel.git drivers/base/cpu.c: fix the output from /sys/devices/system/cpu/offline Without CONFIG_CPUMASK_OFFSTACK, simply inverting cpu_online_mask leads to CPUs beyond nr_cpu_ids to be displayed twice and CPUs not even possible to be displayed as offline. Signed-off-by: Jan Beulich Cc: Andi Kleen Cc: Stephen Rothwell Signed-off-by: Andrew Morton Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed