x86-32: Allow UP/SMP lock replacement in cmpxchg64
authorLuca Barbieri <luca@luca-barbieri.com>
Wed, 24 Feb 2010 09:54:23 +0000 (10:54 +0100)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 26 Feb 2010 04:47:03 +0000 (20:47 -0800)
commit9c76b38476b18c45f97098a10b0176b321eba3ea
treea17aff7507a2e2885124210be125b37be552cd39
parentb3ac891b67bd4b1fc728d1c784cad1212dea433d
x86-32: Allow UP/SMP lock replacement in cmpxchg64

Use the functionality just introduced in the previous patch: mark the
lock prefixes in cmpxchg64 alternatives for UP removal.

Changes in v2:
- Naming change

Signed-off-by: Luca Barbieri <luca@luca-barbieri.com>
LKML-Reference: <1267005265-27958-3-git-send-email-luca@luca-barbieri.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/include/asm/cmpxchg_32.h