Blame view

include/asm-generic/spinlock.h 329 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
aafe4dbed   Arnd Bergmann   asm-generic: add ...
2
3
4
5
6
7
8
9
10
11
12
  #ifndef __ASM_GENERIC_SPINLOCK_H
  #define __ASM_GENERIC_SPINLOCK_H
  /*
   * You need to implement asm/spinlock.h for SMP support. The generic
   * version does not handle SMP.
   */
  #ifdef CONFIG_SMP
  #error need an architecture specific asm/spinlock.h
  #endif
  
  #endif /* __ASM_GENERIC_SPINLOCK_H */