diff options
Diffstat (limited to 'drivers/acpi/acpica/utdebug.c')
-rw-r--r-- | drivers/acpi/acpica/utdebug.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/utdebug.c b/drivers/acpi/acpica/utdebug.c index 21a20ac5b1e1..e516254c63b2 100644 --- a/drivers/acpi/acpica/utdebug.c +++ b/drivers/acpi/acpica/utdebug.c | |||
@@ -561,3 +561,29 @@ acpi_ut_ptr_exit(u32 line_number, | |||
561 | } | 561 | } |
562 | 562 | ||
563 | #endif | 563 | #endif |
564 | |||
565 | #ifdef ACPI_APPLICATION | ||
566 | /******************************************************************************* | ||
567 | * | ||
568 | * FUNCTION: acpi_log_error | ||
569 | * | ||
570 | * PARAMETERS: format - Printf format field | ||
571 | * ... - Optional printf arguments | ||
572 | * | ||
573 | * RETURN: None | ||
574 | * | ||
575 | * DESCRIPTION: Print error message to the console, used by applications. | ||
576 | * | ||
577 | ******************************************************************************/ | ||
578 | |||
579 | void ACPI_INTERNAL_VAR_XFACE acpi_log_error(const char *format, ...) | ||
580 | { | ||
581 | va_list args; | ||
582 | |||
583 | va_start(args, format); | ||
584 | (void)acpi_ut_file_vprintf(ACPI_FILE_ERR, format, args); | ||
585 | va_end(args); | ||
586 | } | ||
587 | |||
588 | ACPI_EXPORT_SYMBOL(acpi_log_error) | ||
589 | #endif | ||