diff options
author | Bob Moore <robert.moore@intel.com> | 2008-06-12 20:28:55 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2008-07-16 17:27:01 -0400 |
commit | e38e8a0743b0e996a8a3fbea8908fe75a84f02c7 (patch) | |
tree | 93dbf03e5c1eff275742989d9b05cb1892c18fe4 /include/acpi | |
parent | 87dc5e3218ba3d7a9293f9113f58455747a233ac (diff) |
Make GPE disable more robust
Implemented another change for the GPE disable. We now perform a
read-change-write of the enable register instead of simply writing out the
cached enable mask. This will prevent inadvertent enabling of GPEs if a rogue
GPE is received during initialization (before GPE handlers are installed.)
http://bugzilla.kernel.org/show_bug.cgi?id=6217
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin 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')
-rw-r--r-- | include/acpi/achware.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/acpi/achware.h b/include/acpi/achware.h index d4fb9bbc903c..45e985961f4c 100644 --- a/include/acpi/achware.h +++ b/include/acpi/achware.h | |||
@@ -87,6 +87,8 @@ acpi_status acpi_hw_clear_acpi_status(void); | |||
87 | /* | 87 | /* |
88 | * hwgpe - GPE support | 88 | * hwgpe - GPE support |
89 | */ | 89 | */ |
90 | acpi_status acpi_hw_low_disable_gpe(struct acpi_gpe_event_info *gpe_event_info); | ||
91 | |||
90 | acpi_status | 92 | acpi_status |
91 | acpi_hw_write_gpe_enable_reg(struct acpi_gpe_event_info *gpe_event_info); | 93 | acpi_hw_write_gpe_enable_reg(struct acpi_gpe_event_info *gpe_event_info); |
92 | 94 | ||