ACPICA: Make the max-number-of-loops runtime configurable
[firefly-linux-kernel-4.4.55.git] / drivers / acpi / acpica / acglobal.h
index c5971923cba4c29c8cd8274fadfd94f588122821..03c443b87c76674dbb5909894f71620ca5797f57 100644 (file)
@@ -236,6 +236,10 @@ ACPI_INIT_GLOBAL(u32, acpi_gbl_nesting_level, 0);
 
 ACPI_GLOBAL(struct acpi_thread_state *, acpi_gbl_current_walk_list);
 
+/* Maximum number of While() loop iterations before forced abort */
+
+ACPI_GLOBAL(u16, acpi_gbl_max_loop_iterations);
+
 /* Control method single step flag */
 
 ACPI_GLOBAL(u8, acpi_gbl_cm_single_step);