From: Oded Gabbay Date: Thu, 26 Oct 2017 08:43:34 +0000 (+0300) Subject: microblaze: add missing include to mmu_context_mm.h X-Git-Tag: v5.15~9889^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da25f490a0b3d9c234d659b21024d61fe2d08c8e;p=platform%2Fkernel%2Flinux-starfive.git 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: Oded Gabbay Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/include/asm/mmu_context_mm.h b/arch/microblaze/include/asm/mmu_context_mm.h index 99472d2..97559fe 100644 --- a/arch/microblaze/include/asm/mmu_context_mm.h +++ b/arch/microblaze/include/asm/mmu_context_mm.h @@ -13,6 +13,7 @@ #include #include +#include #include #include