aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2017-10-26 04:43:34 -0400
committerMichal Simek <michal.simek@xilinx.com>2017-10-30 10:18:46 -0400
commitda25f490a0b3d9c234d659b21024d61fe2d08c8e (patch)
treee77b52bcd1f3c0b960a9bcbea45fda2548fd6d6d
parent0b07194bb55ed836c2cc7c22e866b87a14681984 (diff)
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 <oded.gabbay@gmail.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--arch/microblaze/include/asm/mmu_context_mm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/mmu_context_mm.h b/arch/microblaze/include/asm/mmu_context_mm.h
index 99472d2ca340..97559fe0b953 100644
--- a/arch/microblaze/include/asm/mmu_context_mm.h
+++ b/arch/microblaze/include/asm/mmu_context_mm.h
@@ -13,6 +13,7 @@
13 13
14#include <linux/atomic.h> 14#include <linux/atomic.h>
15#include <linux/mm_types.h> 15#include <linux/mm_types.h>
16#include <linux/sched.h>
16 17
17#include <asm/bitops.h> 18#include <asm/bitops.h>
18#include <asm/mmu.h> 19#include <asm/mmu.h>