History

linux/const.h: refactor _BITUL and _BITULL a bit

Minor cleanups available by _UL and _ULL.

Masahiro Yamada committed 8 years ago

Commit 21e7bc61 parent 2dd8a621 file · +2 −2Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/const.h+2−2
@@ -25,7 +25,7 @@ · 24 unmodified lines
2525 #define _UL(x) (_AC(x, UL))
2626 #define _ULL(x) (_AC(x, ULL))
2727
28−#define _BITUL(x) (_AC(1,UL) << (x))
29−#define _BITULL(x) (_AC(1,ULL) << (x))
28+#define _BITUL(x) (_UL(1) << (x))
29+#define _BITULL(x) (_ULL(1) << (x))
3030
3131 #endif /* _UAPI_LINUX_CONST_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t