aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpica/acglobal.h2
-rw-r--r--drivers/acpi/debugfs.c8
2 files changed, 9 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/acglobal.h b/drivers/acpi/acpica/acglobal.h
index 899d68afc3c5..92122292ef1f 100644
--- a/drivers/acpi/acpica/acglobal.h
+++ b/drivers/acpi/acpica/acglobal.h
@@ -115,7 +115,7 @@ u8 ACPI_INIT_GLOBAL(acpi_gbl_use_default_register_widths, TRUE);
115/* 115/*
116 * Optionally enable output from the AML Debug Object. 116 * Optionally enable output from the AML Debug Object.
117 */ 117 */
118u8 ACPI_INIT_GLOBAL(acpi_gbl_enable_aml_debug_object, FALSE); 118u32 ACPI_INIT_GLOBAL(acpi_gbl_enable_aml_debug_object, FALSE);
119 119
120/* 120/*
121 * Optionally copy the entire DSDT to local memory (instead of simply 121 * Optionally copy the entire DSDT to local memory (instead of simply
diff --git a/drivers/acpi/debugfs.c b/drivers/acpi/debugfs.c
index abfcf9f6e766..7de27d49c4b9 100644
--- a/drivers/acpi/debugfs.c
+++ b/drivers/acpi/debugfs.c
@@ -12,6 +12,14 @@
12#define _COMPONENT ACPI_SYSTEM_COMPONENT 12#define _COMPONENT ACPI_SYSTEM_COMPONENT
13ACPI_MODULE_NAME("debugfs"); 13ACPI_MODULE_NAME("debugfs");
14 14
15
16/* /sys/modules/acpi/parameters/aml_debug_output */
17
18module_param_named(aml_debug_output, acpi_gbl_enable_aml_debug_object,
19 bool, 0644);
20MODULE_PARM_DESC(aml_debug_output,
21 "To enable/disable the ACPI Debug Object output.");
22
15/* /sys/kernel/debug/acpi/custom_method */ 23/* /sys/kernel/debug/acpi/custom_method */
16 24
17static ssize_t cm_write(struct file *file, const char __user * user_buf, 25static ssize_t cm_write(struct file *file, const char __user * user_buf,