Skip to content

Commit 546c440

Browse files
groeckmpe
authored andcommitted
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: b92a226 ("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>
1 parent 9dc5128 commit 546c440

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/powerpc/kernel/vdso.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <linux/security.h>
2323
#include <linux/memblock.h>
2424

25+
#include <asm/cpu_has_feature.h>
2526
#include <asm/pgtable.h>
2627
#include <asm/processor.h>
2728
#include <asm/mmu.h>

0 commit comments

Comments
 (0)