linux-zen-server/tools/testing/selftests/kvm/include/aarch64/spinlock.h

14 lines
285 B
C
Raw Normal View History

2023-08-30 17:53:23 +02:00
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef SELFTEST_KVM_ARM64_SPINLOCK_H
#define SELFTEST_KVM_ARM64_SPINLOCK_H
struct spinlock {
int v;
};
extern void spin_lock(struct spinlock *lock);
extern void spin_unlock(struct spinlock *lock);
#endif /* SELFTEST_KVM_ARM64_SPINLOCK_H */