1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef _ASM_POWERPC_SPINLOCK_TYPES_H 3 #define _ASM_POWERPC_SPINLOCK_TYPES_H 4 5 #ifndef __LINUX_SPINLOCK_TYPES_H 6 # error "please don't include this file directly" 7 #endif 8 9 #ifdef CONFIG_PPC_QUEUED_SPINLOCKS 10 #include <asm-generic/qspinlock_types.h> 11 #include <asm-generic/qrwlock_types.h> 12 #else 13 #include <asm/simple_spinlock_types.h> 14 #endif 15 16 #endif 17