[PATCH 7/8] lib/raid6: Include asm/neon-intrinsics.h rather than arm_neon.h
Ard Biesheuvel <[email protected]>
| Newsgroups | gmane.linux.kernel.cryptoapi,gmane.linux.ports.arm.kernel,gmane.linux.raid |
|---|---|
| Message-ID | <[email protected]> |
From: Ard Biesheuvel <[email protected]> arm_neon.h is a compiler header which needs some scaffolding to work correctly in the linux context, and so it is better not to include it directly. Both ARM and arm64 now provide asm/neon-intrinsics.h which takes care of this. Signed-off-by: Ard Biesheuvel <[email protected]> --- lib/raid6/neon.uc | 2 +- lib/raid6/recov_neon_inner.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/raid6/neon.uc b/lib/raid6/neon.uc index 355270af0cd6..3dc20511103a 100644 --- a/lib/raid6/neon.uc +++ b/lib/raid6/neon.uc @@ -24,7 +24,7 @@ * This file is postprocessed using unroll.awk */ -#include <arm_neon.h> +#include <asm/neon-intrinsics.h> #include "neon.h" typedef uint8x16_t unative_t; diff --git a/lib/raid6/recov_neon_inner.c b/lib/raid6/recov_neon_inner.c index f9e7e8f5a151..06b2967fb8b6 100644 --- a/lib/raid6/recov_neon_inner.c +++ b/lib/raid6/recov_neon_inner.c @@ -4,7 +4,7 @@ * Copyright (C) 2017 Linaro Ltd. <[email protected]> */ -#include <arm_neon.h> +#include <asm/neon-intrinsics.h> #include "neon.h" #ifdef CONFIG_ARM -- 2.54.0.rc1.555.g9c883467ad-goog