4
1
mirror of https://github.com/DragonOS-Community/DragonOS.git synced 2025-06-21 13:06:34 +00:00

new:kzalloc

This commit is contained in:
fslongjin
2022-08-15 17:57:05 +08:00
parent cec44c1fd7
commit f513286f53
11 changed files with 73 additions and 29 deletions

@ -1,5 +1,7 @@
#pragma once
#define __force __attribute__((force))
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)