mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04: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
1 changed files with 1 additions and 0 deletions
|
|
@ -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