mirror of
https://github.com/AsahiLinux/m1n1
synced 2025-02-16 13:48:29 +00:00
utils.h: add BIT() macro
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
17aca31498
commit
cf640de6db
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
|||
|
||||
#define printf debug_printf
|
||||
|
||||
#define BIT(x) (1L << (x))
|
||||
|
||||
static inline u64 read64(u64 addr)
|
||||
{
|
||||
u64 data;
|
||||
|
|
Loading…
Add table
Reference in a new issue