From: Thomas Veerman Date: Fri, 25 Jan 2013 13:31:40 +0000 (+0100) Subject: Kernel/ARM: use modern srsdb invocation X-Git-Tag: v3.2.1~62 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/mdoc.3.txt?a=commitdiff_plain;h=fb4b3da7da00bf56e0c93227c0bcb6a1bd709354;p=minix.git Kernel/ARM: use modern srsdb invocation --- diff --git a/kernel/arch/earm/mpx.S b/kernel/arch/earm/mpx.S index e16d9562d..cbc211457 100644 --- a/kernel/arch/earm/mpx.S +++ b/kernel/arch/earm/mpx.S @@ -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 */