Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
at v6.9-rc2 8 lines 185 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2 3#include <linux/hardirq.h> 4 5static __must_check inline bool may_use_simd(void) 6{ 7 return IS_ENABLED(CONFIG_KERNEL_MODE_NEON) && !in_hardirq(); 8}