git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.0.x@2161 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2010-09-03 14:12:17 +00:00
parent 27ff5a2111
commit 6df2b812fb
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ struct context {
*/
#ifdef THUMB
#define port_lock() { \
asm volatile ("bl _port_lock_thumb" : : : "r3", "lr", "memory" \
asm volatile ("bl _port_lock_thumb" : : : "r3", "lr", "memory"); \
}
#else /* !THUMB */
#define port_lock() asm volatile ("msr CPSR_c, #0x9F" : : : "memory")