diff options
author | Len Brown <len.brown@intel.com> | 2008-10-22 23:57:26 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-23 00:11:07 -0400 |
commit | 057316cc6a5b521b332a1d7ccc871cd60c904c74 (patch) | |
tree | 4333e608da237c73ff69b10878025cca96dcb4c8 /include/acpi | |
parent | 3e2dab9a1c2deb03c311eb3f83466009147ed4d3 (diff) | |
parent | 2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4 (diff) |
Merge branch 'linus' into test
Conflicts:
MAINTAINERS
arch/x86/kernel/acpi/boot.c
arch/x86/kernel/acpi/sleep.c
drivers/acpi/Kconfig
drivers/pnp/Makefile
drivers/pnp/quirks.c
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r-- | include/acpi/acmacros.h | 6 | ||||
-rw-r--r-- | include/acpi/platform/acgcc.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/acpi/acmacros.h b/include/acpi/acmacros.h index a1e3240bf460..a597207e2835 100644 --- a/include/acpi/acmacros.h +++ b/include/acpi/acmacros.h | |||
@@ -447,7 +447,7 @@ struct acpi_integer_overlay { | |||
447 | /* | 447 | /* |
448 | * If ACPI_GET_FUNCTION_NAME was not defined in the compiler-dependent header, | 448 | * If ACPI_GET_FUNCTION_NAME was not defined in the compiler-dependent header, |
449 | * define it now. This is the case where there the compiler does not support | 449 | * define it now. This is the case where there the compiler does not support |
450 | * a __FUNCTION__ macro or equivalent. | 450 | * a __func__ macro or equivalent. |
451 | */ | 451 | */ |
452 | #ifndef ACPI_GET_FUNCTION_NAME | 452 | #ifndef ACPI_GET_FUNCTION_NAME |
453 | #define ACPI_GET_FUNCTION_NAME _acpi_function_name | 453 | #define ACPI_GET_FUNCTION_NAME _acpi_function_name |
@@ -455,12 +455,12 @@ struct acpi_integer_overlay { | |||
455 | * The Name parameter should be the procedure name as a quoted string. | 455 | * The Name parameter should be the procedure name as a quoted string. |
456 | * The function name is also used by the function exit macros below. | 456 | * The function name is also used by the function exit macros below. |
457 | * Note: (const char) is used to be compatible with the debug interfaces | 457 | * Note: (const char) is used to be compatible with the debug interfaces |
458 | * and macros such as __FUNCTION__. | 458 | * and macros such as __func__. |
459 | */ | 459 | */ |
460 | #define ACPI_FUNCTION_NAME(name) static const char _acpi_function_name[] = #name; | 460 | #define ACPI_FUNCTION_NAME(name) static const char _acpi_function_name[] = #name; |
461 | 461 | ||
462 | #else | 462 | #else |
463 | /* Compiler supports __FUNCTION__ (or equivalent) -- Ignore this macro */ | 463 | /* Compiler supports __func__ (or equivalent) -- Ignore this macro */ |
464 | 464 | ||
465 | #define ACPI_FUNCTION_NAME(name) | 465 | #define ACPI_FUNCTION_NAME(name) |
466 | #endif | 466 | #endif |
diff --git a/include/acpi/platform/acgcc.h b/include/acpi/platform/acgcc.h index 8996dba90cd9..8e2cdc57b197 100644 --- a/include/acpi/platform/acgcc.h +++ b/include/acpi/platform/acgcc.h | |||
@@ -46,7 +46,7 @@ | |||
46 | 46 | ||
47 | /* Function name is used for debug output. Non-ANSI, compiler-dependent */ | 47 | /* Function name is used for debug output. Non-ANSI, compiler-dependent */ |
48 | 48 | ||
49 | #define ACPI_GET_FUNCTION_NAME __FUNCTION__ | 49 | #define ACPI_GET_FUNCTION_NAME __func__ |
50 | 50 | ||
51 | /* | 51 | /* |
52 | * This macro is used to tag functions as "printf-like" because | 52 | * This macro is used to tag functions as "printf-like" because |