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

acquire (209B)


      1cat <<EOF
      2static __always_inline ${ret}
      3arch_${atomic}_${pfx}${name}${sfx}_acquire(${params})
      4{
      5	${ret} ret = arch_${atomic}_${pfx}${name}${sfx}_relaxed(${args});
      6	__atomic_acquire_fence();
      7	return ret;
      8}
      9EOF