• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef _UAPI_LINUX_CONST_H
7 #define _UAPI_LINUX_CONST_H
8 #ifdef __ASSEMBLY__
9 #define _AC(X,Y)	X
10 #define _AT(T,X)	X
11 #else
12 #define __AC(X,Y)	(X##Y)
13 #define _AC(X,Y)	__AC(X,Y)
14 #define _AT(T,X)	((T)(X))
15 #endif
16 #define _UL(x)		(_AC(x, UL))
17 #define _ULL(x)		(_AC(x, ULL))
18 #define _BITUL(x)	(_UL(1) << (x))
19 #define _BITULL(x)	(_ULL(1) << (x))
20 #endif
21