arm64: drop unused kernel_neon_begin_partial() macro
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 31 Jul 2018 07:35:45 +0000 (09:35 +0200)
committerWill Deacon <will.deacon@arm.com>
Tue, 31 Jul 2018 09:13:50 +0000 (10:13 +0100)
commitd26de6c9f458f702b778731b7cb578ccd83623c9
tree3faca362875e9ed06f939284eba398de7a98a50d
parent140aada48b5f1a8bed3ba4afb5fc59220651657f
arm64: drop unused kernel_neon_begin_partial() macro

When kernel mode NEON was first introduced to the arm64 kernel,
every call to kernel_neon_begin()/_end() stacked resp. unstacked
the entire NEON register file, making it worthwile to reduce the
number of used NEON registers to a bare minimum, and only stack
those. kernel_neon_begin_partial() was introduced for this purpose,
but after the refactoring for SVE and other changes, it no longer
exists and was simply #define'd to kernel_neon_begin() directly.

In the mean time, all users have been updated, so let's remove
the fallback macro.

Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/neon.h