]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Correct bound checking from the value returned from _PPC method.
authorDave Jones <davej@redhat.com>
Thu, 23 Nov 2006 01:42:01 +0000 (20:42 -0500)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 23 Nov 2006 17:18:55 +0000 (09:18 -0800)
commitfc44e993bfaa95b299d1f2404b729745d77fff64
tree9db86aafad36e04dd221fc65c90b961d7040c80d
parent7776778778b8c284ccc86ae893fd9d9954cd37e9
[PATCH] Correct bound checking from the value returned from _PPC method.

processor_perflib.c::acpi_processor_ppc_notifier() check if the value
returned by the processor's _PPC method is 0 and return failed if so.
This is wrong since 0 indicate that the bios think the processor can go
to the highest frequency.  This patch for example fix the HP NX 6125 to
allow its highest frequency to be available.

Signed-off-by: Bruno Ducrot <ducrot@poupinou.org>
Cc: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/acpi/processor_perflib.c