Sign in
android-kvm
/
linux
/
f99c5f563c174a49ea1cbf4754539b05cfde40c4
/
.
/
arch
/
arm
/
include
/
asm
/
simd.h
blob: 82191dbd7e78a036423e0e1518dca767c536cb86 [
file
] [
log
] [
blame
]
/* SPDX-License-Identifier: GPL-2.0 */
#include
<linux/hardirq.h>
static
__must_check
inline
bool
may_use_simd
(
void
)
{
return
IS_ENABLED
(
CONFIG_KERNEL_MODE_NEON
)
&&
!
in_hardirq
();
}