summaryrefslogtreecommitdiff
path: root/include/acpi/achware.h
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2008-06-20 05:42:47 +0400
committerAndi Kleen <andi@basil.nowhere.org>2008-07-17 01:27:04 +0400
commit71b58cbb0c30d1f78636a48c4721529449d6ea37 (patch)
treeb2271201121c7ecd4d275b19772dcc1e64575712 /include/acpi/achware.h
parent9c9f6d052dc6f469431461a97d49cf9c5558b8ad (diff)
downloadlinux-71b58cbb0c30d1f78636a48c4721529449d6ea37.tar.xz
ACPI: Enhance /sys/firmware/interrupts to allow enable/disable/clear from user-space
Allow users to enable/disable/clear a specific & valid GPE/Fixed Event in user space. This is useful for debugging, especially for some interrupt storm issues. All wakeup GPEs are disabled and they can not be enabled at runtime, and we mark them as invalid. All GPEs that don't have a _Lxx/_Exx method are marked as invalid. All Fixed Events that don't have an event handler are marked as invalid and they can't be enabled until an event handler is registered. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Ling Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'include/acpi/achware.h')
-rw-r--r--include/acpi/achware.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/acpi/achware.h b/include/acpi/achware.h
index 45e985961f4c..97a72b193276 100644
--- a/include/acpi/achware.h
+++ b/include/acpi/achware.h
@@ -102,11 +102,9 @@ acpi_status
acpi_hw_clear_gpe_block(struct acpi_gpe_xrupt_info *gpe_xrupt_info,
struct acpi_gpe_block_info *gpe_block);
-#ifdef ACPI_FUTURE_USAGE
acpi_status
acpi_hw_get_gpe_status(struct acpi_gpe_event_info *gpe_event_info,
acpi_event_status * event_status);
-#endif /* ACPI_FUTURE_USAGE */
acpi_status acpi_hw_disable_all_gpes(void);