aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-04-03 15:46:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-04-03 15:46:41 +0000
commit000181feeac6baaef0c1e2c505365489b260aad9 (patch)
treefc515cbb734c7cf226260624d6a77175e8bfd552 /os/kernel
parent8f0fb6e02eb6d94587232e2e9ed06bb1580c0f23 (diff)
downloadChibiOS-000181feeac6baaef0c1e2c505365489b260aad9.tar.gz
ChibiOS-000181feeac6baaef0c1e2c505365489b260aad9.tar.bz2
ChibiOS-000181feeac6baaef0c1e2c505365489b260aad9.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1844 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel')
-rw-r--r--os/kernel/include/chschd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/kernel/include/chschd.h b/os/kernel/include/chschd.h
index 8d8a2b36f..2518215bd 100644
--- a/os/kernel/include/chschd.h
+++ b/os/kernel/include/chschd.h
@@ -116,7 +116,7 @@ register Thread *currp asm(CH_CURRP_REGISTER_CACHE);
#if !defined(CH_CURRP_REGISTER_CACHE) || defined(__DOXYGEN__)
#define setcurrp(tp) (rlist.r_current = (tp))
#else /* defined(CH_CURRP_REGISTER_CACHE) */
-(currp = (tp))
+#define setcurrp(tp) (currp = (tp))
#endif /* defined(CH_CURRP_REGISTER_CACHE) */
#endif /* !defined(PORT_OPTIMIZED_SETCURRP) */