ACPI: use LNXCPU, not ACPI_CPU, for Linux-specific processor _HID
commitb9417f84e17b93a6976a8a88b38bf9567975cb38
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 27 Apr 2009 22:33:36 +0000 (27 16:33 -0600)
committerLen Brown <len.brown@intel.com>
Thu, 28 May 2009 01:13:31 +0000 (27 21:13 -0400)
treec19a3bb3e51e6000d05629749e86a07ab5f2dfbd
parentcd86a536c81e9300d984327517548ca0652eebf9
ACPI: use LNXCPU, not ACPI_CPU, for Linux-specific processor _HID

ACPI_PROCESSOR_OBJECT_HID is a synthetic _HID that Linux generates
for "Processor" definitions.  Unlike "Device" definitions, "Processor"
definitions do not have a _HID in the namespace, so we generate a
fake _HID.  By convention, all these fake _HIDs begin with "LNX".

This does change the user-visible _HID for "Processor" objects --
previously, we used "ACPI_CPU" and this changes that to "LNXCPU",
which starts with "LNX" as do all the other made-up _HIDs.  This
change is visible in processor filenames and "hid" files under
/sys/devices/LNXSYSTM:00/.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
include/acpi/acpi_drivers.h