]> Git Repo - linux.git/blob - arch/arm/include/asm/simd.h
mm: abstract the vma_merge()/split_vma() pattern for mprotect() et al.
[linux.git] / arch / arm / include / asm / simd.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2
3 #include <linux/hardirq.h>
4
5 static __must_check inline bool may_use_simd(void)
6 {
7         return IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !in_hardirq();
8 }
This page took 0.032658 seconds and 4 git commands to generate.