提交 da25f490 编写于 作者: O Oded Gabbay 提交者: Michal Simek

microblaze: add missing include to mmu_context_mm.h

mmu_context_mm.h is using struct task_struct, which is defined in
linux/sched.h. Source files that include mm_context_mm.h
(directly or indirectly) and doesn't include linux/sched.h will generate
an error. An example of that is drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c

This patch adds an include of linux/sched.h to mmu_context_mm.h to avoid
such errors.
Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
上级 0b07194b
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include <linux/atomic.h> #include <linux/atomic.h>
#include <linux/mm_types.h> #include <linux/mm_types.h>
#include <linux/sched.h>
#include <asm/bitops.h> #include <asm/bitops.h>
#include <asm/mmu.h> #include <asm/mmu.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册