From: Rafael J. Wysocki Date: Tue, 8 Jun 2010 08:48:26 +0000 (+0200) Subject: ACPI / ACPICA: Use helper function for computing GPE masks X-Git-Tag: v2.6.35-rc4~72^2~6^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4e9a735991c80fb0fc1bd4a13a93681c3c17ce0;p=pandora-kernel.git 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 Signed-off-by: Len Brown --- Reading git-diff-tree failed