From: Venkatesh Pallipadi Date: Tue, 14 Nov 2006 01:47:44 +0000 (-0800) Subject: [CPUFREQ] Fix the bug in duplicate freq elimination code in acpi-cpufreq X-Git-Tag: v2.6.20-rc1~151 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d4a7ef3d3f0c9f3cf8da724d5935253a713d8b6;p=pandora-kernel.git [CPUFREQ] Fix the bug in duplicate freq elimination code in acpi-cpufreq Fix the bug in duplicate states elimination in acpi-cpufreq. Bug: Due to duplicate state elimiation in the loop earlier, the number of valid_states can be less than perf->state_count, in which case freq_table was ending up with some garbage/uninitialized entries in the table. Signed-off-by: Venkatesh Pallipadi From: Alexey Starikovskiy Signed-off-by: Dave Jones --- Reading git-diff-tree failed