diff options
Diffstat (limited to 'include/acpi/acmacros.h')
-rw-r--r-- | include/acpi/acmacros.h | 6 |
1 files changed, 3 insertions, 3 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 |