1801201aaSArd Biesheuvel 2801201aaSArd Biesheuvel #include <asm/i387.h> 3801201aaSArd Biesheuvel 4801201aaSArd Biesheuvel /* 5801201aaSArd Biesheuvel * may_use_simd - whether it is allowable at this time to issue SIMD 6801201aaSArd Biesheuvel * instructions or access the SIMD register file 7801201aaSArd Biesheuvel */ 8801201aaSArd Biesheuvel static __must_check inline bool may_use_simd(void) 9801201aaSArd Biesheuvel { 10801201aaSArd Biesheuvel return irq_fpu_usable(); 11801201aaSArd Biesheuvel } 12