dm: x86: Move samus to use new driver model support
[oweals/u-boot.git] / arch / x86 / cpu / sipi_vector.S
index bcef12c6f1cbc98b1373a88926974ad0c4e0d9c2..94c0f5a702ba76d606182a2b5147e35f29a9bfbc 100644 (file)
@@ -190,9 +190,10 @@ load_msr:
 
        /* c_handler(cpu_num) */
        movl    %esi, %eax      /* cpu_num */
-       mov     c_handler, %eax
-       call    *%eax
+       mov     c_handler, %esi
+       call    *%esi
 
+       /* This matches struct sipi_param */
        .align  4
 .globl sipi_params
 sipi_params: