projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01be50a
)
x86/alternatives: No need for alternatives-asm.h to re-invent stuff already in asm.h
author
Jan Beulich
<
[email protected]
>
Fri, 27 Nov 2009 15:06:16 +0000
(15:06 +0000)
committer
Ingo Molnar
<
[email protected]
>
Wed, 2 Dec 2009 10:39:45 +0000
(11:39 +0100)
This at once also gets the alignment specification right for
x86-64.
Signed-off-by: Jan Beulich <
[email protected]
>
LKML-Reference: <
4B0FF8F80200007800022708
@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/include/asm/alternative-asm.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/alternative-asm.h
b/arch/x86/include/asm/alternative-asm.h
index e2077d343c33dbd5684287fffd46aa065e22a687..b97f786a48d597ce4c718667a19c0d8c2b45c9c7 100644
(file)
--- a/
arch/x86/include/asm/alternative-asm.h
+++ b/
arch/x86/include/asm/alternative-asm.h
@@
-1,17
+1,13
@@
#ifdef __ASSEMBLY__
-#ifdef CONFIG_X86_32
-# define X86_ALIGN .long
-#else
-# define X86_ALIGN .quad
-#endif
+#include <asm/asm.h>
#ifdef CONFIG_SMP
.macro LOCK_PREFIX
1: lock
.section .smp_locks,"a"
- .align 4
-
X86_ALIGN
1b
+ _ASM_ALIGN
+
_ASM_PTR
1b
.previous
.endm
#else