We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f3d1be commit 4463a44Copy full SHA for 4463a44
include/linux/bits.h
@@ -20,9 +20,8 @@
20
*/
21
#if !defined(__ASSEMBLY__)
22
#include <linux/build_bug.h>
23
-#define GENMASK_INPUT_CHECK(h, l) \
24
- (BUILD_BUG_ON_ZERO(__builtin_choose_expr( \
25
- __is_constexpr((l) > (h)), (l) > (h), 0)))
+#include <linux/compiler.h>
+#define GENMASK_INPUT_CHECK(h, l) BUILD_BUG_ON_ZERO(const_true((l) > (h)))
26
#else
27
/*
28
* BUILD_BUG_ON_ZERO is not available in h files included from asm files,
0 commit comments