]> asedeno.scripts.mit.edu Git - linux.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)
commitf960181d5d88ab6c84be8fb5e7f75080c78dfdd1
tree47d801091ff27a0a1860763fec7a783769c26533
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973
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]