diff options
author | 2018-03-22 21:20:04 +0100 | |
---|---|---|
committer | 2018-05-25 12:04:46 +1000 | |
commit | d647b210ac738b401c7f824bbebdcbcedbe7cb6b (patch) | |
tree | f54670a58ec8f91d6ff42e2ccfdf99cd3c028ebe /arch/powerpc/kernel/vecemu.c | |
parent | powerpc/32: Add a missing include header (diff) | |
download | linux-d647b210ac738b401c7f824bbebdcbcedbe7cb6b.tar.gz linux-d647b210ac738b401c7f824bbebdcbcedbe7cb6b.tar.bz2 linux-d647b210ac738b401c7f824bbebdcbcedbe7cb6b.zip |
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>
Diffstat (limited to 'arch/powerpc/kernel/vecemu.c')
-rw-r--r-- | arch/powerpc/kernel/vecemu.c | 1 |
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 */ |