diff options
author | Dave Martin <Dave.Martin@arm.com> | 2017-08-03 12:23:20 -0400 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-08-04 10:00:50 -0400 |
commit | 0fc9179ad0bf2f97790c0568442299679ca346cf (patch) | |
tree | e2b948cd516d5ab45670d8878e227f9c7f0a77bc | |
parent | f960181d5d88ab6c84be8fb5e7f75080c78dfdd1 (diff) |
arm64: neon: Add missing header guard in <asm/neon.h>
asm/neon.h doesn't have a header inclusion guard, but it should
have one for consistency with other headers.
This patch adds a suitable guard.
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-rw-r--r-- | arch/arm64/include/asm/neon.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/neon.h b/arch/arm64/include/asm/neon.h index ad4cdc966c0f..5368bd04fe7b 100644 --- a/arch/arm64/include/asm/neon.h +++ b/arch/arm64/include/asm/neon.h | |||
@@ -8,6 +8,9 @@ | |||
8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef __ASM_NEON_H | ||
12 | #define __ASM_NEON_H | ||
13 | |||
11 | #include <linux/types.h> | 14 | #include <linux/types.h> |
12 | #include <asm/fpsimd.h> | 15 | #include <asm/fpsimd.h> |
13 | 16 | ||
@@ -17,3 +20,5 @@ | |||
17 | 20 | ||
18 | void kernel_neon_begin_partial(u32 num_regs); | 21 | void kernel_neon_begin_partial(u32 num_regs); |
19 | void kernel_neon_end(void); | 22 | void kernel_neon_end(void); |
23 | |||
24 | #endif /* ! __ASM_NEON_H */ | ||