Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Arnd Bergmann | aafe4db | 2009-05-13 22:56:33 +0000 | [diff] [blame] | 2 | #ifndef __ASM_GENERIC_SPINLOCK_H |
3 | #define __ASM_GENERIC_SPINLOCK_H | ||||
4 | /* | ||||
5 | * You need to implement asm/spinlock.h for SMP support. The generic | ||||
6 | * version does not handle SMP. | ||||
7 | */ | ||||
8 | #ifdef CONFIG_SMP | ||||
9 | #error need an architecture specific asm/spinlock.h | ||||
10 | #endif | ||||
11 | |||||
12 | #endif /* __ASM_GENERIC_SPINLOCK_H */ |