From 95b19d5c196b9b0402fa9703a75ad97189bf0cc1 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 29 Aug 2009 08:19:23 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1123 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/ARMCM3/chcore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/ports/GCC/ARMCM3/chcore.h b/os/ports/GCC/ARMCM3/chcore.h index 7e68d1aae..4a6ee2695 100644 --- a/os/ports/GCC/ARMCM3/chcore.h +++ b/os/ports/GCC/ARMCM3/chcore.h @@ -306,7 +306,7 @@ struct context { if (sp - sizeof(struct intctx) - sizeof(Thread) < (char *)_otp) \ asm volatile ("movs r0, #0 \n\t" \ "b chDbgPanic"); \ - asm volatile ("svc #0" : : "r" (_otp), "r" (_ntp) : "memory"); \ + asm volatile ("svc #0" : : "r" (_otp), "r" (_ntp) : "memory"); \ } #else /* !CH_DBG_ENABLE_STACK_CHECK */ #define port_switch(otp, ntp) { \ -- cgit v1.2.3