Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

x86: Make simd.h more resilient

Add missing header inclusions and protect against double inclusion.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

+6
+6
arch/x86/include/asm/simd.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 + #ifndef _ASM_SIMD_H 3 + #define _ASM_SIMD_H 2 4 3 5 #include <asm/fpu/api.h> 6 + #include <linux/compiler_attributes.h> 7 + #include <linux/types.h> 4 8 5 9 /* 6 10 * may_use_simd - whether it is allowable at this time to issue SIMD ··· 14 10 { 15 11 return irq_fpu_usable(); 16 12 } 13 + 14 + #endif /* _ASM_SIMD_H */