mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 12:10:52 -04:00
ACPI: processor: introduce arch_has_acpi_pdc
arch dependent helper function that tells us if we should attempt to evaluate _PDC on this machine or not. The x86 implementation assumes that the CPUs in the machine must be homogeneous, and that you cannot mix CPUs of different vendors. Cc: Tony Luck <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: "H. Peter Anvin" <[email protected]> Signed-off-by: Alex Chiang <[email protected]> Signed-off-by: Len Brown <[email protected]>
This commit is contained in:
parent
78f1699659
commit
1d9cb470a7
4 changed files with 13 additions and 3 deletions
|
|
@ -69,6 +69,9 @@ static int acpi_processor_eval_pdc(struct acpi_processor *pr)
|
|||
|
||||
void acpi_processor_set_pdc(struct acpi_processor *pr)
|
||||
{
|
||||
if (arch_has_acpi_pdc() == false)
|
||||
return;
|
||||
|
||||
arch_acpi_processor_init_pdc(pr);
|
||||
acpi_processor_eval_pdc(pr);
|
||||
arch_acpi_processor_cleanup_pdc(pr);
|
||||
|
|
|
|||
Loading…
Reference in a new issue