Re: [PATCH V2] ACPI/Processor: Fix failure of loading acpi-cpufreq driver

2014-04-30 Thread Rafael J. Wysocki
On Wednesday, April 30, 2014 03:46:33 PM Lan Tianyu wrote: > According commit d640113fe(ACPI: processor: fix acpi_get_cpuid for UP > processor), Bios may not provide _MAT or MADT tables and acpi_get_apicid() > always returns -1. For these cases, original code will pass apic_id with > vaule of -1 t

[PATCH V2] ACPI/Processor: Fix failure of loading acpi-cpufreq driver

2014-04-30 Thread Lan Tianyu
According commit d640113fe(ACPI: processor: fix acpi_get_cpuid for UP processor), Bios may not provide _MAT or MADT tables and acpi_get_apicid() always returns -1. For these cases, original code will pass apic_id with vaule of -1 to acpi_map_cpuid() and it will check the acpi_id. If acpi_id is equ