diff options
Diffstat (limited to 'include/acpi/acoutput.h')
| -rw-r--r-- | include/acpi/acoutput.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index 1baae6edda89..a8f344363e77 100644 --- a/include/acpi/acoutput.h +++ b/include/acpi/acoutput.h | |||
| @@ -5,7 +5,7 @@ | |||
| 5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
| 6 | 6 | ||
| 7 | /* | 7 | /* |
| 8 | * Copyright (C) 2000 - 2014, Intel Corp. | 8 | * Copyright (C) 2000 - 2015, Intel Corp. |
| 9 | * All rights reserved. | 9 | * All rights reserved. |
| 10 | * | 10 | * |
| 11 | * Redistribution and use in source and binary forms, with or without | 11 | * Redistribution and use in source and binary forms, with or without |
| @@ -240,7 +240,7 @@ | |||
| 240 | /* | 240 | /* |
| 241 | * If ACPI_GET_FUNCTION_NAME was not defined in the compiler-dependent header, | 241 | * If ACPI_GET_FUNCTION_NAME was not defined in the compiler-dependent header, |
| 242 | * define it now. This is the case where there the compiler does not support | 242 | * define it now. This is the case where there the compiler does not support |
| 243 | * a __FUNCTION__ macro or equivalent. | 243 | * a __func__ macro or equivalent. |
| 244 | */ | 244 | */ |
| 245 | #ifndef ACPI_GET_FUNCTION_NAME | 245 | #ifndef ACPI_GET_FUNCTION_NAME |
| 246 | #define ACPI_GET_FUNCTION_NAME _acpi_function_name | 246 | #define ACPI_GET_FUNCTION_NAME _acpi_function_name |
| @@ -249,12 +249,12 @@ | |||
| 249 | * The Name parameter should be the procedure name as a quoted string. | 249 | * The Name parameter should be the procedure name as a quoted string. |
| 250 | * The function name is also used by the function exit macros below. | 250 | * The function name is also used by the function exit macros below. |
| 251 | * Note: (const char) is used to be compatible with the debug interfaces | 251 | * Note: (const char) is used to be compatible with the debug interfaces |
| 252 | * and macros such as __FUNCTION__. | 252 | * and macros such as __func__. |
| 253 | */ | 253 | */ |
| 254 | #define ACPI_FUNCTION_NAME(name) static const char _acpi_function_name[] = #name; | 254 | #define ACPI_FUNCTION_NAME(name) static const char _acpi_function_name[] = #name; |
| 255 | 255 | ||
| 256 | #else | 256 | #else |
| 257 | /* Compiler supports __FUNCTION__ (or equivalent) -- Ignore this macro */ | 257 | /* Compiler supports __func__ (or equivalent) -- Ignore this macro */ |
| 258 | 258 | ||
| 259 | #define ACPI_FUNCTION_NAME(name) | 259 | #define ACPI_FUNCTION_NAME(name) |
| 260 | #endif /* ACPI_GET_FUNCTION_NAME */ | 260 | #endif /* ACPI_GET_FUNCTION_NAME */ |
