[PATCH] ACPI: fix mutex names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux