diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2026-04-22 19:16:57 +0200 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-05-28 13:14:17 -0700 |
| commit | 4156e65624f8a1816cad423ec005b336e280999d (patch) | |
| tree | 4743602dab7d60fdb0d4c96c440a97c0fe09208c /Documentation | |
| parent | e7ae89a0c97ce2b68b0983cd01eda67cf373517d (diff) | |
| download | linux-next-history-4156e65624f8a1816cad423ec005b336e280999d.tar.gz | |
ARM: Add a neon-intrinsics.h header like on arm64
Add a header asm/neon-intrinsics.h similar to the one that arm64 has.
This makes it possible for NEON intrinsics code to be shared seamlessly
between ARM and arm64.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://patch.msgid.link/20260422171655.3437334-11-ardb+git@google.com
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'Documentation')
| -rw-r--r-- | Documentation/arch/arm/kernel_mode_neon.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/arch/arm/kernel_mode_neon.rst b/Documentation/arch/arm/kernel_mode_neon.rst index 9bfb71a2a9b96..1efb6d35b7bd0 100644 --- a/Documentation/arch/arm/kernel_mode_neon.rst +++ b/Documentation/arch/arm/kernel_mode_neon.rst @@ -121,4 +121,6 @@ observe the following in addition to the rules above: * Compile the unit containing the NEON intrinsics with '-ffreestanding' so GCC uses its builtin version of <stdint.h> (this is a C99 header which the kernel does not supply); -* Include <arm_neon.h> last, or at least after <linux/types.h> +* Do not include <arm_neon.h> directly: instead, include <asm/neon-intrinsics.h>, + which tweaks some macro definitions so that system headers can be included + safely. |
