summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/reboot.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-06-08 10:48:26 +0200
committerLen Brown <len.brown@intel.com>2010-06-12 00:54:54 +0200
commite4e9a735991c80fb0fc1bd4a13a93681c3c17ce0 (patch)
treedbe98206d9fe79c744e354ab2f4f6dd2473406ed /drivers/acpi/reboot.c
parentACPI / ACPICA: Do not attempt to disable GPE when installing handler (diff)
downloadlinux-e4e9a735991c80fb0fc1bd4a13a93681c3c17ce0.tar.xz
linux-e4e9a735991c80fb0fc1bd4a13a93681c3c17ce0.zip
ACPI / ACPICA: Use helper function for computing GPE masks
In quite a few places ACPICA needs to compute a GPE enable mask with only one bit, corresponding to a given GPE, set. Currently, that computation is always open coded which leads to unnecessary code duplication. Fix this by introducing a helper function for computing one-bit GPE enable masks and using it where appropriate. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/reboot.c')
0 files changed, 0 insertions, 0 deletions