diff options
Diffstat (limited to 'arch/x86/include/asm/alternative.h')
| -rw-r--r-- | arch/x86/include/asm/alternative.h | 11 | 
1 files changed, 2 insertions, 9 deletions
| diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h index 4cd6a3b71824..d7faa16622d8 100644 --- a/arch/x86/include/asm/alternative.h +++ b/arch/x86/include/asm/alternative.h @@ -31,15 +31,8 @@   */  #ifdef CONFIG_SMP -#define LOCK_PREFIX_HERE \ -		".pushsection .smp_locks,\"a\"\n"	\ -		".balign 4\n"				\ -		".long 671f - .\n" /* offset */		\ -		".popsection\n"				\ -		"671:" - -#define LOCK_PREFIX LOCK_PREFIX_HERE "\n\tlock; " - +#define LOCK_PREFIX_HERE "LOCK_PREFIX_HERE\n\t" +#define LOCK_PREFIX "LOCK_PREFIX "  #else /* ! CONFIG_SMP */  #define LOCK_PREFIX_HERE ""  #define LOCK_PREFIX "" |