Skip to contentSkip to conversation

ACPI: fix mutex names

PATCH In review Vegard Nossum 2 participants 2 messages Jun 20, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: fix mutex names

Hi,

I came across this as I was looking at Ingo's report. This looks correct, yeah? (The alternative is to switch the #defines around, but that has more serious implications than changing just what is displayed on the screen!)

Vegard

From: Vegard Nossum <[email protected]>
Date: Fri, 20 Jun 2008 13:49:22 +0200
Subject: [PATCH] ACPI: fix mutex names

This patch reorders the mutex names to match the preceding #defines and comment:

    /*
     * NOTE: any changes here must be reflected in the acpi_gbl_mutex_names
     * table below also!
     */
    #define ACPI_MTX_INTERPRETER            0       /* AML Interpreter, main lock */
    #define ACPI_MTX_NAMESPACE              1       /* ACPI Namespace */
    #define ACPI_MTX_TABLES                 2       /* Data for ACPI tables */
---
 include/acpi/aclocal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/acpi/aclocal.h +1 -1
index c5cdc32..62d7468 100644
@@ -98,8 +98,8 @@ union acpi_parse_object;
 
 static char *acpi_gbl_mutex_names[ACPI_NUM_MUTEX] = {
 	"ACPI_MTX_Interpreter",
-	"ACPI_MTX_Tables",
 	"ACPI_MTX_Namespace",
+	"ACPI_MTX_Tables",
 	"ACPI_MTX_Events",
 	"ACPI_MTX_Caches",
 	"ACPI_MTX_Memory",
Signature · 1 line
1.5.4.1
reviewer
#1 lore raw

looks good.
CONFIG_ACPI_DEBUG=y thanks you.

-Len

Quoted 48 lines · Vegard Nossum

Hi,

I came across this as I was looking at Ingo's report. This looks correct, yeah? (The alternative is to switch the #defines around, but that has more serious implications than changing just what is displayed on the screen!)

Vegard

From: Vegard Nossum <[email protected]>
Date: Fri, 20 Jun 2008 13:49:22 +0200
Subject: [PATCH] ACPI: fix mutex names

This patch reorders the mutex names to match the preceding #defines and comment:

    /*
     * NOTE: any changes here must be reflected in the acpi_gbl_mutex_names
     * table below also!
     */
    #define ACPI_MTX_INTERPRETER            0       /* AML Interpreter, main lock */
    #define ACPI_MTX_NAMESPACE              1       /* ACPI Namespace */
    #define ACPI_MTX_TABLES                 2       /* Data for ACPI tables */
---
 include/acpi/aclocal.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/acpi/aclocal.h +1 -1
index c5cdc32..62d7468 100644
@@ -98,8 +98,8 @@ union acpi_parse_object;
 
 static char *acpi_gbl_mutex_names[ACPI_NUM_MUTEX] = {
 	"ACPI_MTX_Interpreter",
-	"ACPI_MTX_Tables",
 	"ACPI_MTX_Namespace",
+	"ACPI_MTX_Tables",
 	"ACPI_MTX_Events",
 	"ACPI_MTX_Caches",
 	"ACPI_MTX_Memory",
Signature · 1 line
1.5.4.1