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.

asm-generic: Make simd.h more resilient

Add missing header inclusions and protect against double inclusion.

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

+7 -1
+7 -1
include/asm-generic/simd.h
··· 1 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 + #ifndef _ASM_GENERIC_SIMD_H 3 + #define _ASM_GENERIC_SIMD_H 2 4 3 - #include <linux/hardirq.h> 5 + #include <linux/compiler_attributes.h> 6 + #include <linux/preempt.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 ··· 17 13 { 18 14 return !in_interrupt(); 19 15 } 16 + 17 + #endif /* _ASM_GENERIC_SIMD_H */