Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/vdso: Add missing include file

Some powerpc builds fail with the following buld error.

In file included from ./arch/powerpc/include/asm/mmu_context.h:11:0,
from arch/powerpc/kernel/vdso.c:28:
arch/powerpc/include/asm/cputhreads.h: In function 'get_tensr':
arch/powerpc/include/asm/cputhreads.h:101:2: error:
implicit declaration of function 'cpu_has_feature'

Fixes: b92a226e5284 ("powerpc: Move cpu_has_feature() to a separate file")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Guenter Roeck and committed by
Michael Ellerman
546c4402 9dc51281

+1
+1
arch/powerpc/kernel/vdso.c
··· 22 22 #include <linux/security.h> 23 23 #include <linux/memblock.h> 24 24 25 + #include <asm/cpu_has_feature.h> 25 26 #include <asm/pgtable.h> 26 27 #include <asm/processor.h> 27 28 #include <asm/mmu.h>