diff options
-rw-r--r-- | drivers/acpi/acpica/acmacros.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/acmacros.h b/drivers/acpi/acpica/acmacros.h index 73f6653c848d..ecbaabae59e7 100644 --- a/drivers/acpi/acpica/acmacros.h +++ b/drivers/acpi/acpica/acmacros.h | |||
@@ -262,7 +262,8 @@ | |||
262 | 262 | ||
263 | /* Generic (power-of-two) rounding */ | 263 | /* Generic (power-of-two) rounding */ |
264 | 264 | ||
265 | #define ACPI_IS_POWER_OF_TWO(a) (((a) & ((a) - 1)) == 0) | 265 | #define ACPI_IS_ALIGNED(a, s) (((a) & ((s) - 1)) == 0) |
266 | #define ACPI_IS_POWER_OF_TWO(a) ACPI_IS_ALIGNED(a, a) | ||
266 | 267 | ||
267 | /* | 268 | /* |
268 | * Bitmask creation | 269 | * Bitmask creation |