diff options
Diffstat (limited to 'include/lib/utils.h')
-rw-r--r-- | include/lib/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lib/utils.h b/include/lib/utils.h index a234e3c9..f7af8f66 100644 --- a/include/lib/utils.h +++ b/include/lib/utils.h @@ -40,6 +40,8 @@ #define SIZE_FROM_LOG2_WORDS(n) (4 << (n)) +#define BIT(nr) (1UL << (nr)) + /* * The round_up() macro rounds up a value to the given boundary in a * type-agnostic yet type-safe manner. The boundary must be a power of two. |