]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - arch/x86/include/asm/simd.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / x86 / include / asm / simd.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
801201aa 2
df6b35f4 3#include <asm/fpu/api.h>
801201aa
AB
4
5/*
6 * may_use_simd - whether it is allowable at this time to issue SIMD
7 * instructions or access the SIMD register file
8 */
9static __must_check inline bool may_use_simd(void)
10{
11 return irq_fpu_usable();
12}