]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: neon: replace generic definition of may_use_simd()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 3 Aug 2017 16:23:19 +0000 (17:23 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 4 Aug 2017 14:00:47 +0000 (15:00 +0100)
commit196c3a6cab471872dc94a6dde25ac7ef59a266fe
tree47d801091ff27a0a1860763fec7a783769c26533
parent8b74f4f4576ba4882ca9e92e5c3794c2476fd0af
arm64: neon: replace generic definition of may_use_simd()

In preparation of modifying the logic that decides whether kernel mode
NEON is allowable, which is required for SVE support, introduce an
implementation of may_use_simd() that reflects the current reality, i.e.,
that SIMD is allowed in any context.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/Kbuild
arch/arm64/include/asm/simd.h [new file with mode: 0644]