public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ACPI: fix mutex names
@ 2008-06-20 11:56 Vegard Nossum
  2008-06-20 19:03 ` Len Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Vegard Nossum @ 2008-06-20 11:56 UTC (permalink / raw)
  To: Len Brown; +Cc: linux-acpi, linux-kernel

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@gmail.com>
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@gmail.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ACPI: fix mutex names
  2008-06-20 11:56 [PATCH] ACPI: fix mutex names Vegard Nossum
@ 2008-06-20 19:03 ` Len Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2008-06-20 19:03 UTC (permalink / raw)
  To: Vegard Nossum; +Cc: linux-acpi, linux-kernel


looks good.
CONFIG_ACPI_DEBUG=y thanks you.

-Len


On Fri, 20 Jun 2008, Vegard Nossum wrote:

> 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@gmail.com>
> 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@gmail.com>
> ---
>  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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-06-20 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-20 11:56 [PATCH] ACPI: fix mutex names Vegard Nossum
2008-06-20 19:03 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox