commit | a8d1e1c063b0b1c91a9415f5cb09e37a75bce809 | [log] [tgz] |
---|---|---|
author | Lv Zheng <lv.zheng@intel.com> | Thu Mar 24 09:40:56 2016 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Apr 05 03:53:33 2016 +0200 |
tree | a7b90d0700afc06d868a4283c897f02aa2d5289c | |
parent | 7447bc1e69bafab72ef69a7f054bb1e5f9ff908d [diff] |
ACPICA: Utilities: Add ACPI_IS_POWER_OF_TWO() ACPICA commit cbcb77565c5032dd48e19b3a8a8b8704c5f29faf This patch adds a macro ACPI_IS_POWER_OF_TWO, which can be used to detect if a number is a power of two. Lv Zheng. Link: https://github.com/acpica/acpica/commit/cbcb7756 Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>