ACPI / processor: Introduce invalid_phys_cpuid()
authorHanjun Guo <hanjun.guo@linaro.org>
Wed, 13 May 2015 08:19:30 +0000 (16:19 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 13 May 2015 21:28:16 +0000 (23:28 +0200)
commitddcc18f5bdd1aafd457032ec693fd9d0af764d61
tree0fc442b95f716e618e8b49c30b72babade41a1ed
parentd3da7cb9d243c484fcb05e6c16f55090fba99702
ACPI / processor: Introduce invalid_phys_cpuid()

Introduce invalid_phys_cpuid() to identify cpu with invalid
physical ID, then used it as replacement of the direct comparisons
with PHYS_CPUID_INVALID.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_processor.c
drivers/acpi/processor_core.c
include/linux/acpi.h