[PATCH] ACPI: fix mutex names

From: Vegard Nossum
Date: Fri Jun 20 2008 - 07:57:20 EST


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 <vegard.nossum@xxxxxxxxx>
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 */

Signed-off-by: Vegard Nossum <vegard.nossum@xxxxxxxxx>
---
include/acpi/aclocal.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/acpi/aclocal.h b/include/acpi/aclocal.h
index c5cdc32..62d7468 100644
--- a/include/acpi/aclocal.h
+++ b/include/acpi/aclocal.h
@@ -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",
--
1.5.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/