Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
acpi
/
processor_pdc.c
diff --git
a/kernel/drivers/acpi/processor_pdc.c
b/kernel/drivers/acpi/processor_pdc.c
index
e5dd808
..
7cfbda4
100644
(file)
--- a/
kernel/drivers/acpi/processor_pdc.c
+++ b/
kernel/drivers/acpi/processor_pdc.c
@@
-52,10
+52,7
@@
static bool __init processor_physically_present(acpi_handle handle)
type = (acpi_type == ACPI_TYPE_DEVICE) ? 1 : 0;
cpuid = acpi_get_cpuid(handle, type, acpi_id);
- if (cpuid == -1)
- return false;
-
- return true;
+ return !invalid_logical_cpuid(cpuid);
}
static void acpi_set_pdc_bits(u32 *buf)