projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
538b5b4
)
[PATCH] Support patchable lock prefix for pure assembly files
author
Andi Kleen
<ak@suse.de>
Tue, 26 Sep 2006 08:52:28 +0000
(10:52 +0200)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:28 +0000
(10:52 +0200)
Signed-off-by: Andi Kleen <ak@suse.de>
include/asm-x86_64/alternative-asm.i
[new file with mode: 0644]
patch
|
blob
diff --git a/include/asm-x86_64/alternative-asm.i
b/include/asm-x86_64/alternative-asm.i
new file mode 100644
(file)
index 0000000..
e4041f4
--- /dev/null
+++ b/
include/asm-x86_64/alternative-asm.i
@@ -0,0
+1,14
@@
+#include <linux/config.h>
+
+#ifdef CONFIG_SMP
+ .macro LOCK_PREFIX
+1: lock
+ .section .smp_locks,"a"
+ .align 8
+ .quad 1b
+ .previous
+ .endm
+#else
+ .macro LOCK_PREFIX
+ .endm
+#endif