mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
Implement BIT_ULL() macro in the LinuxKPI.
MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
d7c2cc352e
commit
797046eebb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=314205
|
@ -37,6 +37,7 @@
|
|||
#include <sys/errno.h>
|
||||
|
||||
#define BIT(nr) (1UL << (nr))
|
||||
#define BIT_ULL(nr) (1ULL << (nr))
|
||||
#ifdef __LP64__
|
||||
#define BITS_PER_LONG 64
|
||||
#else
|
||||
|
|
Loading…
Reference in a new issue