sched: don't export sched_mc_power_savings in laptops
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Sat, 29 Nov 2008 11:20:12 +0000 (16:50 +0530)
committerIngo Molnar <mingo@elte.hu>
Mon, 1 Dec 2008 07:44:00 +0000 (08:44 +0100)
Impact: do not expose a control that has no effect

Fix to prevent sched_mc_power_saving from being exported through sysfs
on single-socket systems. (Say multicore single socket (Laptop))

CPU core map of the boot cpu should be equal to possible number
of cpus for single socket system.

This fix has been developed at FOSS.in kernel workout.

Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found