microblaze: add missing include to mmu_context_mm.h
authorOded Gabbay <oded.gabbay@gmail.com>
Thu, 26 Oct 2017 08:43:34 +0000 (11:43 +0300)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 30 Oct 2017 14:18:46 +0000 (15:18 +0100)
commitda25f490a0b3d9c234d659b21024d61fe2d08c8e
treee77b52bcd1f3c0b960a9bcbea45fda2548fd6d6d
parent0b07194bb55ed836c2cc7c22e866b87a14681984
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>
arch/microblaze/include/asm/mmu_context_mm.h