summaryrefslogtreecommitdiffstats
path: root/arch/x86/lib/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-07-28 15:18:35 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2010-07-28 15:24:09 -0700
commit4532b305e8f0c238dd73048068ff8a6dd1380291 (patch)
treee4f9e4d78385dc45ab2456edf02ab515442f1cc1 /arch/x86/lib/Makefile
parent69309a05907546fb686b251d4ab041c26afe1e1d (diff)
downloadop-kernel-dev-4532b305e8f0c238dd73048068ff8a6dd1380291.zip
op-kernel-dev-4532b305e8f0c238dd73048068ff8a6dd1380291.tar.gz
x86, asm: Clean up and simplify <asm/cmpxchg.h>
Remove the __xg() hack to create a memory barrier near xchg and cmpxchg; it has been there since 1.3.11 but should not be necessary with "asm volatile" and a "memory" clobber, neither of which were there in the original implementation. However, we *should* make this a volatile reference. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> LKML-Reference: <AANLkTikAmaDPji-TVDarmG1yD=fwbffcsmEU=YEuP+8r@mail.gmail.com>
Diffstat (limited to 'arch/x86/lib/Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud