Skip to content

Commit 11207b4

Browse files
Erik Schmaussrafaeljw
authored andcommitted
ACPICA: Linux: move ACPI_DEBUG_DEFAULT flag out of ifndef
ACPICA commit c14f17fa0acf8c93497ce04b9a7f4ada51b69383 This flag should not be included in #ifndef CONFIG_ACPI. It should be used unconditionally. Link: acpica/acpica@c14f17fa Fixes: aa9aaa4 ("ACPI: use different default debug value than ACPICA") Reported-by: Gabriel C <[email protected]> Tested-by: Gabriel C <[email protected]> Signed-off-by: Erik Schmauss <[email protected]> Signed-off-by: Bob Moore <[email protected]> Cc: 5.1+ <[email protected]> 5.1+ Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 59df1c2 commit 11207b4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/acpi/platform/aclinux.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@
6666

6767
#define ACPI_INIT_FUNCTION __init
6868

69+
/* Use a specific bugging default separate from ACPICA */
70+
71+
#undef ACPI_DEBUG_DEFAULT
72+
#define ACPI_DEBUG_DEFAULT (ACPI_LV_INFO | ACPI_LV_REPAIR)
73+
6974
#ifndef CONFIG_ACPI
7075

7176
/* External globals for __KERNEL__, stubs is needed */
@@ -82,11 +87,6 @@
8287
#define ACPI_NO_ERROR_MESSAGES
8388
#undef ACPI_DEBUG_OUTPUT
8489

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-
9090
/* External interface for __KERNEL__, stub is needed */
9191

9292
#define ACPI_EXTERNAL_RETURN_STATUS(prototype) \

0 commit comments

Comments
 (0)