spinlock.h (aa65ff6b18e0366db1790609956a4ac7308c5668) | spinlock.h (20c0e8269e9d515e677670902c7e1cc0209d6ad9) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2#ifndef __ASM_SPINLOCK_H 3#define __ASM_SPINLOCK_H 4#ifdef __KERNEL__ 5 6#ifdef CONFIG_PPC_QUEUED_SPINLOCKS 7#include <asm/qspinlock.h> 8#include <asm/qrwlock.h> 9#else 10#include <asm/simple_spinlock.h> 11#endif 12 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2#ifndef __ASM_SPINLOCK_H 3#define __ASM_SPINLOCK_H 4#ifdef __KERNEL__ 5 6#ifdef CONFIG_PPC_QUEUED_SPINLOCKS 7#include <asm/qspinlock.h> 8#include <asm/qrwlock.h> 9#else 10#include <asm/simple_spinlock.h> 11#endif 12 |
13#ifndef CONFIG_PARAVIRT_SPINLOCKS 14static inline void pv_spinlocks_init(void) { } 15#endif 16 |
|
13#endif /* __KERNEL__ */ 14#endif /* __ASM_SPINLOCK_H */ | 17#endif /* __KERNEL__ */ 18#endif /* __ASM_SPINLOCK_H */ |