diff options
Diffstat (limited to 'drivers/acpi/processor_pdc.c')
-rw-r--r-- | drivers/acpi/processor_pdc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/acpi/processor_pdc.c b/drivers/acpi/processor_pdc.c index e5dd80800930..7cfbda4d7c51 100644 --- a/drivers/acpi/processor_pdc.c +++ b/drivers/acpi/processor_pdc.c | |||
@@ -52,10 +52,7 @@ static bool __init processor_physically_present(acpi_handle handle) | |||
52 | type = (acpi_type == ACPI_TYPE_DEVICE) ? 1 : 0; | 52 | type = (acpi_type == ACPI_TYPE_DEVICE) ? 1 : 0; |
53 | cpuid = acpi_get_cpuid(handle, type, acpi_id); | 53 | cpuid = acpi_get_cpuid(handle, type, acpi_id); |
54 | 54 | ||
55 | if (cpuid == -1) | 55 | return !invalid_logical_cpuid(cpuid); |
56 | return false; | ||
57 | |||
58 | return true; | ||
59 | } | 56 | } |
60 | 57 | ||
61 | static void acpi_set_pdc_bits(u32 *buf) | 58 | static void acpi_set_pdc_bits(u32 *buf) |