From: ShuoX Liu Date: Tue, 3 Jul 2012 17:05:31 +0000 (+0200) Subject: cpuidle: move field disable from per-driver to per-cpu X-Git-Tag: v3.6-rc1~155^2~8^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc7fd275ae60ef8edf952aff2a62462f5d892fd4;p=pandora-kernel.git cpuidle: move field disable from per-driver to per-cpu Andrew J.Schorr raises a question. When he changes the disable setting on a single CPU, it affects all the other CPUs. Basically, currently, the disable field is per-driver instead of per-cpu. All the C states of the same driver are shared by all CPU in the same machine. The patch changes the `disable' field to per-cpu, so we could set this separately for each cpu. Signed-off-by: ShuoX Liu Reported-by: Andrew J.Schorr Reviewed-by: Yanmin Zhang Signed-off-by: Andrew Morton Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed