diff options
| author | Darrick J. Wong <[email protected]> | 2006-10-19 23:28:28 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-10-20 10:26:37 -0700 |
| commit | c5a114f1fb2d3c54be62779a705e088471063b47 (patch) | |
| tree | f3eff245cf2a8ea3d829d59fb5237b07f00830ce /include/linux/debugobjects.h | |
| parent | 74e8b51d254865b8abe4a94b5eb82b1940ec820c (diff) | |
[PATCH] fix "ACPI: Processor native C-states using MWAIT"
This patch breaks C-state discovery on my IBM IntelliStation Z30 because
the return value of acpi_processor_get_power_info_fadt is not assigned to
"result" in the case that acpi_processor_get_power_info_cst returns
-ENODEV. Thus, if ACPI provides C-state data via the FADT and not _CST (as
is the case on this machine), we incorrectly exit the function with -ENODEV
after reading the FADT. The attached patch sets the value of result so
that we don't exit early.
Signed-off-by: Darrick J. Wong <[email protected]>
Acked-by: "Pallipadi, Venkatesh" <[email protected]>
Acked-by: "Brown, Len" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions