diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-03-04 00:35:43 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-03-04 00:35:43 -0500 |
commit | d2c032e3dc58137a7261a7824d3acce435db1d66 (patch) | |
tree | 7eea1c7c6103eefe879f07472eec99b3c41eb792 /arch/x86/lib | |
parent | 7e8e385aaf6ed5b64b5d9108081cfcdcdd021b78 (diff) | |
parent | 13a7a6ac0a11197edcd0f756a035f472b42cdf8b (diff) |
Merge tag 'v4.0-rc2' into x86/asm, to refresh the tree
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/lib')
-rw-r--r-- | arch/x86/lib/memcpy_64.S | 6 | ||||
-rw-r--r-- | arch/x86/lib/memmove_64.S | 4 | ||||
-rw-r--r-- | arch/x86/lib/memset_64.S | 10 |
3 files changed, 14 insertions, 6 deletions
diff --git a/arch/x86/lib/memcpy_64.S b/arch/x86/lib/memcpy_64.S index 56313a326188..89b53c9968e7 100644 --- a/arch/x86/lib/memcpy_64.S +++ b/arch/x86/lib/memcpy_64.S | |||
@@ -53,6 +53,8 @@ | |||
53 | .Lmemcpy_e_e: | 53 | .Lmemcpy_e_e: |
54 | .previous | 54 | .previous |
55 | 55 | ||
56 | .weak memcpy | ||
57 | |||
56 | ENTRY(__memcpy) | 58 | ENTRY(__memcpy) |
57 | ENTRY(memcpy) | 59 | ENTRY(memcpy) |
58 | CFI_STARTPROC | 60 | CFI_STARTPROC |
@@ -199,8 +201,8 @@ ENDPROC(__memcpy) | |||
199 | * only outcome... | 201 | * only outcome... |
200 | */ | 202 | */ |
201 | .section .altinstructions, "a" | 203 | .section .altinstructions, "a" |
202 | altinstruction_entry memcpy,.Lmemcpy_c,X86_FEATURE_REP_GOOD,\ | 204 | altinstruction_entry __memcpy,.Lmemcpy_c,X86_FEATURE_REP_GOOD,\ |
203 | .Lmemcpy_e-.Lmemcpy_c,.Lmemcpy_e-.Lmemcpy_c | 205 | .Lmemcpy_e-.Lmemcpy_c,.Lmemcpy_e-.Lmemcpy_c |
204 | altinstruction_entry memcpy,.Lmemcpy_c_e,X86_FEATURE_ERMS, \ | 206 | altinstruction_entry __memcpy,.Lmemcpy_c_e,X86_FEATURE_ERMS, \ |
205 | .Lmemcpy_e_e-.Lmemcpy_c_e,.Lmemcpy_e_e-.Lmemcpy_c_e | 207 | .Lmemcpy_e_e-.Lmemcpy_c_e,.Lmemcpy_e_e-.Lmemcpy_c_e |
206 | .previous | 208 | .previous |
diff --git a/arch/x86/lib/memmove_64.S b/arch/x86/lib/memmove_64.S index 65268a6104f4..9c4b530575da 100644 --- a/arch/x86/lib/memmove_64.S +++ b/arch/x86/lib/memmove_64.S | |||
@@ -24,7 +24,10 @@ | |||
24 | * Output: | 24 | * Output: |
25 | * rax: dest | 25 | * rax: dest |
26 | */ | 26 | */ |
27 | .weak memmove | ||
28 | |||
27 | ENTRY(memmove) | 29 | ENTRY(memmove) |
30 | ENTRY(__memmove) | ||
28 | CFI_STARTPROC | 31 | CFI_STARTPROC |
29 | 32 | ||
30 | /* Handle more 32 bytes in loop */ | 33 | /* Handle more 32 bytes in loop */ |
@@ -220,4 +223,5 @@ ENTRY(memmove) | |||
220 | .Lmemmove_end_forward-.Lmemmove_begin_forward, \ | 223 | .Lmemmove_end_forward-.Lmemmove_begin_forward, \ |
221 | .Lmemmove_end_forward_efs-.Lmemmove_begin_forward_efs | 224 | .Lmemmove_end_forward_efs-.Lmemmove_begin_forward_efs |
222 | .previous | 225 | .previous |
226 | ENDPROC(__memmove) | ||
223 | ENDPROC(memmove) | 227 | ENDPROC(memmove) |
diff --git a/arch/x86/lib/memset_64.S b/arch/x86/lib/memset_64.S index 2dcb3808cbda..6f44935c6a60 100644 --- a/arch/x86/lib/memset_64.S +++ b/arch/x86/lib/memset_64.S | |||
@@ -56,6 +56,8 @@ | |||
56 | .Lmemset_e_e: | 56 | .Lmemset_e_e: |
57 | .previous | 57 | .previous |
58 | 58 | ||
59 | .weak memset | ||
60 | |||
59 | ENTRY(memset) | 61 | ENTRY(memset) |
60 | ENTRY(__memset) | 62 | ENTRY(__memset) |
61 | CFI_STARTPROC | 63 | CFI_STARTPROC |
@@ -147,8 +149,8 @@ ENDPROC(__memset) | |||
147 | * feature to implement the right patch order. | 149 | * feature to implement the right patch order. |
148 | */ | 150 | */ |
149 | .section .altinstructions,"a" | 151 | .section .altinstructions,"a" |
150 | altinstruction_entry memset,.Lmemset_c,X86_FEATURE_REP_GOOD,\ | 152 | altinstruction_entry __memset,.Lmemset_c,X86_FEATURE_REP_GOOD,\ |
151 | .Lfinal-memset,.Lmemset_e-.Lmemset_c | 153 | .Lfinal-__memset,.Lmemset_e-.Lmemset_c |
152 | altinstruction_entry memset,.Lmemset_c_e,X86_FEATURE_ERMS, \ | 154 | altinstruction_entry __memset,.Lmemset_c_e,X86_FEATURE_ERMS, \ |
153 | .Lfinal-memset,.Lmemset_e_e-.Lmemset_c_e | 155 | .Lfinal-__memset,.Lmemset_e_e-.Lmemset_c_e |
154 | .previous | 156 | .previous |