Pārlūkot izejas kodu

[ACPI] disable module level AML code (for now)

It is important that we support module level code --
BIOS's implement it.  But this implementation needs
more testing.

Signed-off-by: Len Brown <len.brown@intel.com>
Len Brown 20 gadi atpakaļ
vecāks
revīzija
670fac79b9
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      drivers/acpi/parser/psloop.c

+ 2 - 0
drivers/acpi/parser/psloop.c

@@ -410,6 +410,8 @@ acpi_ps_parse_loop (
 
 				/* Special processing for certain opcodes */
 
+#define ACPI_NO_MODULE_LEVEL_CODE
+
 	/* TBD (remove): Temporary mechanism to disable this code if needed */
 
 #ifndef ACPI_NO_MODULE_LEVEL_CODE