x86: enable cpus display of kernel_max and offlined cpus
authorMike Travis <travis@sgi.com>
Thu, 1 Jan 2009 02:08:45 +0000 (18:08 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 3 Jan 2009 17:59:47 +0000 (18:59 +0100)
commit730cf27246225d56ca1603b2f3c4fdbf882d4e51
tree46cfe9609956394a11a00e10f3f727e2ba4e4afa
parent6bdf197b04b3ae7c85785bc5a9576f1bcb0ac7c0
x86: enable cpus display of kernel_max and offlined cpus

Impact: enables /sys/devices/system/cpu/{kernel_max,offline} user interface

By setting total_cpus, the drivers/base/cpu.c will display the
values of kernel_max (NR_CPUS-1) and the offlined cpu map.

Signed-off-by: Mike Travis <travis@sgi.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/smpboot.c