mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-06 00:16:39 +07:00
x86, cmpxchg: <linux/alternative.h> has LOCK_PREFIX
Not <linux/bitops.h>. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Link: http://lkml.kernel.org/r/4E5BCC40.3030501@goop.org Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
parent
c6a389f123
commit
4009338d62
@ -1,7 +1,7 @@
|
|||||||
#ifndef _ASM_X86_CMPXCHG_32_H
|
#ifndef _ASM_X86_CMPXCHG_32_H
|
||||||
#define _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
|
* Note: if you use set64_bit(), __cmpxchg64(), or their variants, you
|
||||||
|
Loading…
Reference in New Issue
Block a user