补充 kmalloc 的头文件.

Signed-off-by: ithink.chan <chenyang@autoai.com>
This commit is contained in:
ithink.chan 2020-04-27 17:04:52 +08:00
parent a95dc2cfa7
commit f54bddc4ce
1 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,12 @@
通过 kmalloc/kzalloc 分配内核空间,通过 kfree 释放。
**头文件:**
```cpp
#include <linux/slab.h>
```
### kmalloc
**函数原型:**