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

futex.h (353B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _ASM_UM_FUTEX_H
      3#define _ASM_UM_FUTEX_H
      4
      5#include <linux/futex.h>
      6#include <linux/uaccess.h>
      7#include <asm/errno.h>
      8
      9
     10int arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr);
     11int futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
     12			      u32 oldval, u32 newval);
     13
     14#endif