cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

spinlock.h (285B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2
      3#ifndef SELFTEST_KVM_ARM64_SPINLOCK_H
      4#define SELFTEST_KVM_ARM64_SPINLOCK_H
      5
      6struct spinlock {
      7	int v;
      8};
      9
     10extern void spin_lock(struct spinlock *lock);
     11extern void spin_unlock(struct spinlock *lock);
     12
     13#endif /* SELFTEST_KVM_ARM64_SPINLOCK_H */