]> Zhao Yanbai Git Server - minix.git/commitdiff
Kernel/ARM: use modern srsdb invocation
authorThomas Veerman <thomas@minix3.org>
Fri, 25 Jan 2013 13:31:40 +0000 (14:31 +0100)
committerThomas Veerman <thomas@minix3.org>
Fri, 25 Jan 2013 17:07:02 +0000 (17:07 +0000)
kernel/arch/earm/mpx.S

index e16d9562d23c139b5a979ddba1ad315d74e09544..cbc211457c52219509f670562234960d86362355 100644 (file)
@@ -40,7 +40,7 @@ IMPORT(svc_stack)
  */
 .macro switch_to_svc lr_offset
        sub     lr, lr, #\lr_offset
-       srsdb   #MODE_SVC!
+       srsdb   sp!, #MODE_SVC
        cps     #MODE_SVC
 .endm
 
@@ -182,7 +182,7 @@ irq_entry_from_kernel:
  * supervisor call (SVC) kernel entry point
  */
 ENTRY(svc_entry)
-       srsdb   #MODE_SVC!
+       srsdb   sp!, #MODE_SVC
        save_process_ctx
 
        /* save the pointer to the current process */