summaryrefslogtreecommitdiff
path: root/include/compile_time_macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compile_time_macros.h')
-rw-r--r--include/compile_time_macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/compile_time_macros.h b/include/compile_time_macros.h
index 15432549d3..3844898084 100644
--- a/include/compile_time_macros.h
+++ b/include/compile_time_macros.h
@@ -83,7 +83,7 @@
*/
#ifndef CONFIG_ZEPHYR
#define GENMASK(h, l) (((BIT(h)<<1) - 1) ^ (BIT(l) - 1))
-#endif
#define GENMASK_ULL(h, l) (((BIT_ULL(h)<<1) - 1) ^ (BIT_ULL(l) - 1))
+#endif
#endif /* __CROS_EC_COMPILE_TIME_MACROS_H */