summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2018-03-22 21:20:04 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-05-25 12:04:46 +1000
commitd647b210ac738b401c7f824bbebdcbcedbe7cb6b (patch)
treef54670a58ec8f91d6ff42e2ccfdf99cd3c028ebe
parentc89ca593220931c150cffda24b4d4ccf82f13fc8 (diff)
powerpc: Add a missing include header
The header file <asm/switch_to.h> was missing from the includes. Fix the following warning, treated as error with W=1: arch/powerpc/kernel/vecemu.c:260:5: error: no previous prototype for ‘emulate_altivec’ [-Werror=missing-prototypes] Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
-rw-r--r--arch/powerpc/kernel/vecemu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/vecemu.c b/arch/powerpc/kernel/vecemu.c
index 8812085883fd..4acd3fb2b38e 100644
--- a/arch/powerpc/kernel/vecemu.c
+++ b/arch/powerpc/kernel/vecemu.c
@@ -8,6 +8,7 @@
#include <linux/sched.h>
#include <asm/ptrace.h>
#include <asm/processor.h>
+#include <asm/switch_to.h>
#include <linux/uaccess.h>
/* Functions in vector.S */