ACPI: processor: add internal processor_physically_present()
authorAlex Chiang <achiang@hp.com>
Mon, 22 Feb 2010 19:11:29 +0000 (12:11 -0700)
committerLen Brown <len.brown@intel.com>
Mon, 15 Mar 2010 01:17:20 +0000 (21:17 -0400)
commit5d554a7bb0643a6151a84319bfeba8270bf5269e
tree943d8107099270ced84f941f5b498f280132ff1f
parent78ed8bd2944b6400f742306e5fe9d1b9b6bf18ba
ACPI: processor: add internal processor_physically_present()

Detect if a processor is physically present before evaluating _PDC.

We want this because some BIOS will provide a _PDC even for processors
that are not present. These bogus _PDC methods then attempt to load
non-existent tables, which causes problems.

Avoid those bogus landmines.

Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_core.c