projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06f16c4
)
x86: Pass correct cpu_index to ap_init()
author
Bin Meng
<bmeng.cn@gmail.com>
Wed, 14 Oct 2015 09:01:21 +0000
(
02:01
-0700)
committer
Simon Glass
<sjg@chromium.org>
Wed, 21 Oct 2015 13:46:27 +0000
(07:46 -0600)
In sipi_vector.S, cpu_index (passed as %eax) is wrongly overwritten
by the ap_init() function address. Correct it.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/sipi_vector.S
patch
|
blob
|
history
diff --git
a/arch/x86/cpu/sipi_vector.S
b/arch/x86/cpu/sipi_vector.S
index bcef12c6f1cbc98b1373a88926974ad0c4e0d9c2..0c4a157f38153682bba98193068b13f0c3fd8abc 100644
(file)
--- a/
arch/x86/cpu/sipi_vector.S
+++ b/
arch/x86/cpu/sipi_vector.S
@@
-190,8
+190,8
@@
load_msr:
/* c_handler(cpu_num) */
movl %esi, %eax /* cpu_num */
- mov c_handler, %e
ax
- call *%e
ax
+ mov c_handler, %e
si
+ call *%e
si
.align 4
.globl sipi_params