diff options
| -rw-r--r-- | drivers/acpi/bus.c | 3 | ||||
| -rw-r--r-- | include/acpi/acoutput.h | 3 | ||||
| -rw-r--r-- | include/acpi/platform/aclinux.h | 5 |
3 files changed, 8 insertions, 3 deletions
diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index 6ecbbabf1233..eec263c9019e 100644 --- a/drivers/acpi/bus.c +++ b/drivers/acpi/bus.c | |||
| @@ -1043,9 +1043,6 @@ void __init acpi_early_init(void) | |||
| 1043 | 1043 | ||
| 1044 | acpi_permanent_mmap = true; | 1044 | acpi_permanent_mmap = true; |
| 1045 | 1045 | ||
| 1046 | /* Initialize debug output. Linux does not use ACPICA defaults */ | ||
| 1047 | acpi_dbg_level = ACPI_LV_INFO | ACPI_LV_REPAIR; | ||
| 1048 | |||
| 1049 | #ifdef CONFIG_X86 | 1046 | #ifdef CONFIG_X86 |
| 1050 | /* | 1047 | /* |
| 1051 | * If the machine falls into the DMI check table, | 1048 | * If the machine falls into the DMI check table, |
diff --git a/include/acpi/acoutput.h b/include/acpi/acoutput.h index 30b1ae53689f..c50542dc71e0 100644 --- a/include/acpi/acoutput.h +++ b/include/acpi/acoutput.h | |||
| @@ -150,7 +150,10 @@ | |||
| 150 | 150 | ||
| 151 | /* Defaults for debug_level, debug and normal */ | 151 | /* Defaults for debug_level, debug and normal */ |
| 152 | 152 | ||
| 153 | #ifndef ACPI_DEBUG_DEFAULT | ||
| 153 | #define ACPI_DEBUG_DEFAULT (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_EVALUATION | ACPI_LV_REPAIR) | 154 | #define ACPI_DEBUG_DEFAULT (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_EVALUATION | ACPI_LV_REPAIR) |
| 155 | #endif | ||
| 156 | |||
| 154 | #define ACPI_NORMAL_DEFAULT (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_REPAIR) | 157 | #define ACPI_NORMAL_DEFAULT (ACPI_LV_INIT | ACPI_LV_DEBUG_OBJECT | ACPI_LV_REPAIR) |
| 155 | #define ACPI_DEBUG_ALL (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL) | 158 | #define ACPI_DEBUG_ALL (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL) |
| 156 | 159 | ||
diff --git a/include/acpi/platform/aclinux.h b/include/acpi/platform/aclinux.h index 9ff328fd946a..624b90b34085 100644 --- a/include/acpi/platform/aclinux.h +++ b/include/acpi/platform/aclinux.h | |||
| @@ -82,6 +82,11 @@ | |||
| 82 | #define ACPI_NO_ERROR_MESSAGES | 82 | #define ACPI_NO_ERROR_MESSAGES |
| 83 | #undef ACPI_DEBUG_OUTPUT | 83 | #undef ACPI_DEBUG_OUTPUT |
| 84 | 84 | ||
| 85 | /* Use a specific bugging default separate from ACPICA */ | ||
| 86 | |||
| 87 | #undef ACPI_DEBUG_DEFAULT | ||
| 88 | #define ACPI_DEBUG_DEFAULT (ACPI_LV_INFO | ACPI_LV_REPAIR) | ||
| 89 | |||
| 85 | /* External interface for __KERNEL__, stub is needed */ | 90 | /* External interface for __KERNEL__, stub is needed */ |
| 86 | 91 | ||
| 87 | #define ACPI_EXTERNAL_RETURN_STATUS(prototype) \ | 92 | #define ACPI_EXTERNAL_RETURN_STATUS(prototype) \ |
