aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index 27f84af4e337..f7fd72ac69cf 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -1537,17 +1537,21 @@ static int __init osi_setup(char *str)
1537 1537
1538__setup("acpi_osi=", osi_setup); 1538__setup("acpi_osi=", osi_setup);
1539 1539
1540/* enable serialization to combat AE_ALREADY_EXISTS errors */ 1540/*
1541static int __init acpi_serialize_setup(char *str) 1541 * Disable the auto-serialization of named objects creation methods.
1542 *
1543 * This feature is enabled by default. It marks the AML control methods
1544 * that contain the opcodes to create named objects as "Serialized".
1545 */
1546static int __init acpi_no_auto_serialize_setup(char *str)
1542{ 1547{
1543 printk(KERN_INFO PREFIX "serialize enabled\n"); 1548 acpi_gbl_auto_serialize_methods = FALSE;
1544 1549 pr_info("ACPI: auto-serialization disabled\n");
1545 acpi_gbl_all_methods_serialized = TRUE;
1546 1550
1547 return 1; 1551 return 1;
1548} 1552}
1549 1553
1550__setup("acpi_serialize", acpi_serialize_setup); 1554__setup("acpi_no_auto_serialize", acpi_no_auto_serialize_setup);
1551 1555
1552/* Check of resource interference between native drivers and ACPI 1556/* Check of resource interference between native drivers and ACPI
1553 * OperationRegions (SystemIO and System Memory only). 1557 * OperationRegions (SystemIO and System Memory only).