1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun #ifndef __ASM_GENERIC_SPINLOCK_H 3*4882a593Smuzhiyun #define __ASM_GENERIC_SPINLOCK_H 4*4882a593Smuzhiyun /* 5*4882a593Smuzhiyun * You need to implement asm/spinlock.h for SMP support. The generic 6*4882a593Smuzhiyun * version does not handle SMP. 7*4882a593Smuzhiyun */ 8*4882a593Smuzhiyun #ifdef CONFIG_SMP 9*4882a593Smuzhiyun #error need an architecture specific asm/spinlock.h 10*4882a593Smuzhiyun #endif 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun #endif /* __ASM_GENERIC_SPINLOCK_H */ 13