1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2b8b572e1SStephen Rothwell #ifndef _ASM_POWERPC_SPINLOCK_TYPES_H
3b8b572e1SStephen Rothwell #define _ASM_POWERPC_SPINLOCK_TYPES_H
4b8b572e1SStephen Rothwell 
577993b59SSebastian Andrzej Siewior #ifndef __LINUX_SPINLOCK_TYPES_RAW_H
6b8b572e1SStephen Rothwell # error "please don't include this file directly"
7b8b572e1SStephen Rothwell #endif
8b8b572e1SStephen Rothwell 
9aa65ff6bSNicholas Piggin #ifdef CONFIG_PPC_QUEUED_SPINLOCKS
10*9f61521cSNicholas Piggin #include <asm/qspinlock_types.h>
11aa65ff6bSNicholas Piggin #include <asm-generic/qrwlock_types.h>
12aa65ff6bSNicholas Piggin #else
1312d0b9d6SNicholas Piggin #include <asm/simple_spinlock_types.h>
14aa65ff6bSNicholas Piggin #endif
15b8b572e1SStephen Rothwell 
16b8b572e1SStephen Rothwell #endif
17