Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4009338d authored by Jeremy Fitzhardinge's avatar Jeremy Fitzhardinge Committed by H. Peter Anvin
Browse files

x86, cmpxchg: <linux/alternative.h> has LOCK_PREFIX

parent c6a389f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#ifndef _ASM_X86_CMPXCHG_32_H
#define _ASM_X86_CMPXCHG_32_H

#include <linux/bitops.h> /* for LOCK_PREFIX */
#include <asm/alternative.h> /* Provides LOCK_PREFIX */

/*
 * Note: if you use set64_bit(), __cmpxchg64(), or their variants, you