diff options
author | Oded Gabbay | 2022-02-02 10:36:29 +0200 |
---|---|---|
committer | Oded Gabbay | 2022-02-28 14:22:04 +0200 |
commit | 9e70ac1aa7ba50f223b4784c9e19d9ee3e47e634 (patch) | |
tree | 48f52e501681267f9a1700a85c0f4d7ae2164f3f /drivers/misc | |
parent | 57b6f02fff3e2a8c394bbde6724950d492160356 (diff) |
habanalabs: add missing include of vmalloc.h
Use of vfree(), vmalloc_user(), vmalloc() and remap_vmalloc_range()
requires this include in some architectures.
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/habanalabs/common/memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/common/memory.c b/drivers/misc/habanalabs/common/memory.c index 348daac621ee..7bd4cae87a54 100644 --- a/drivers/misc/habanalabs/common/memory.c +++ b/drivers/misc/habanalabs/common/memory.c @@ -11,6 +11,7 @@ #include <linux/uaccess.h> #include <linux/slab.h> +#include <linux/vmalloc.h> #include <linux/pci-p2pdma.h> MODULE_IMPORT_NS(DMA_BUF); |