OSDN Git Service

sparc64: mmu_context: Add missing include files
authorGuenter Roeck <linux@roeck-us.net>
Sun, 10 Sep 2017 20:44:47 +0000 (13:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Sep 2017 04:39:22 +0000 (21:39 -0700)
commit01c3f0a42a2a0ff0c3fed80a1a25f2641ae72554
treeab831a0d8fd5de8213462819d675fa813b1a1d5c
parent9cd6681cb1169e815c41af0265165dd1b872f228
sparc64: mmu_context: Add missing include files

Fix the following build errors.

In file included from arch/sparc/include/asm/mmu_context.h:4:0,
                 from include/linux/mmu_context.h:4,
 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
 from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
arch/sparc/include/asm/mmu_context_64.h:22:37: error:
unknown type name 'per_cpu_secondary_mm'

arch/sparc/include/asm/mmu_context_64.h: In function 'switch_mm':
arch/sparc/include/asm/mmu_context_64.h:79:2: error:
implicit declaration of function 'smp_processor_id'

Fixes: 70539bd79500 ("drm/amd: Update MEC HQD loading code for KFD")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/mmu_context_64.h