diff options
author | Daniel Axtens <dja@axtens.net> | 2016-05-18 01:16:50 (GMT) |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-06-16 12:39:54 (GMT) |
commit | 42f5b4cacd783faf05e3ff8bf85e8be31f3dfa9d (patch) | |
tree | 1df0e78c7e5ea6c1e91898f854bfa9418d0147a2 /arch/powerpc/lib/vmx-helper.c | |
parent | 34852ed5511ec5d07897f22d5607061a248fc82f (diff) | |
download | linux-42f5b4cacd783faf05e3ff8bf85e8be31f3dfa9d.tar.xz |
powerpc: Introduce asm-prototypes.h
Sparse picked up a number of functions that are implemented in C and
then only referred to in asm code.
This introduces asm-prototypes.h, which provides a place for
prototypes of these functions.
This silences some sparse warnings.
Signed-off-by: Daniel Axtens <dja@axtens.net>
[mpe: Add include guards, clean up copyright & GPL text]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/lib/vmx-helper.c')
-rw-r--r-- | arch/powerpc/lib/vmx-helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/lib/vmx-helper.c b/arch/powerpc/lib/vmx-helper.c index b27e030..bf925cd 100644 --- a/arch/powerpc/lib/vmx-helper.c +++ b/arch/powerpc/lib/vmx-helper.c @@ -21,6 +21,7 @@ #include <linux/uaccess.h> #include <linux/hardirq.h> #include <asm/switch_to.h> +#include <asm/asm-prototypes.h> int enter_vmx_usercopy(void) { |