ACPI: use LNXCPU, not ACPI_CPU, for Linux-specific processor _HID

Previous thread: ACPI: Disable ARB_DISABLE on platforms where it is not needed by Linux Kernel Mailing List on Wednesday, June 24, 2009 - 12:00 pm. (1 message)

Next thread: ACPI: processor: check for synthetic _HID, default to "Device" declaration by Linux Kernel Mailing List on Wednesday, June 24, 2009 - 12:00 pm. (1 message)
From: Linux Kernel Mailing List
Date: Wednesday, June 24, 2009 - 12:00 pm

Gitweb:     http://git.kernel.org/linus/b9417f84e17b93a6976a8a88b38bf9567975cb38
Commit:     b9417f84e17b93a6976a8a88b38bf9567975cb38
Parent:     cd86a536c81e9300d984327517548ca0652eebf9
Author:     Bjorn Helgaas <bjorn.helgaas@hp.com>
AuthorDate: Mon Apr 27 16:33:36 2009 -0600
Committer:  Len Brown <len.brown@intel.com>
CommitDate: Wed May 27 21:13:31 2009 -0400

    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 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/acpi/acpi_drivers.h b/include/acpi/acpi_drivers.h
index 0352c8f..c9922b3 100644
--- a/include/acpi/acpi_drivers.h
+++ b/include/acpi/acpi_drivers.h
@@ -57,7 +57,7 @@
  */
 
 #define ACPI_POWER_HID			"LNXPOWER"
-#define ACPI_PROCESSOR_OBJECT_HID	"ACPI_CPU"
+#define ACPI_PROCESSOR_OBJECT_HID	"LNXCPU"
 #define ACPI_PROCESSOR_HID		"ACPI0007"
 #define ACPI_SYSTEM_HID			"LNXSYSTM"
 #define ACPI_THERMAL_HID		"LNXTHERM"
--

Previous thread: ACPI: Disable ARB_DISABLE on platforms where it is not needed by Linux Kernel Mailing List on Wednesday, June 24, 2009 - 12:00 pm. (1 message)

Next thread: ACPI: processor: check for synthetic _HID, default to "Device" declaration by Linux Kernel Mailing List on Wednesday, June 24, 2009 - 12:00 pm. (1 message)