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

rcupdate.h (336B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _RCUPDATE_H
      3#define _RCUPDATE_H
      4
      5#include <urcu.h>
      6
      7#define rcu_dereference_raw(p) rcu_dereference(p)
      8#define rcu_dereference_protected(p, cond) rcu_dereference(p)
      9#define rcu_dereference_check(p, cond) rcu_dereference(p)
     10#define RCU_INIT_POINTER(p, v)	do { (p) = (v); } while (0)
     11
     12#endif