summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-08-07 00:54:12 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2016-08-09 08:52:00 +0200
commit546c4402c57497a6ffdf5373aff75bc89f0866bc (patch)
treea6ee1c23d3f0c878430270082664b7ee4bb27236 /arch/powerpc
parentpowerpc: Fix unused function warning 'lmb_to_memblock' (diff)
downloadlinux-546c4402c57497a6ffdf5373aff75bc89f0866bc.tar.xz
linux-546c4402c57497a6ffdf5373aff75bc89f0866bc.zip
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/vdso.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c
index 6767605ea8da..4111d30badfa 100644
--- a/arch/powerpc/kernel/vdso.c
+++ b/arch/powerpc/kernel/vdso.c
@@ -22,6 +22,7 @@
#include <linux/security.h>
#include <linux/memblock.h>
+#include <asm/cpu_has_feature.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/mmu.h>