aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chsys.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-14 09:13:21 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-14 09:13:21 +0000
commit075b89133ec371480bdcf670d3f412b1cf131b0e (patch)
tree886089b9e7d4c6715a0cb2e14ea0de271b83cce4 /os/kernel/include/chsys.h
parentf1bb1a01ca40b8c999346c701450fcf0ca74827a (diff)
downloadChibiOS-075b89133ec371480bdcf670d3f412b1cf131b0e.tar.gz
ChibiOS-075b89133ec371480bdcf670d3f412b1cf131b0e.tar.bz2
ChibiOS-075b89133ec371480bdcf670d3f412b1cf131b0e.zip
Performance optimization (not complete yet).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1739 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/chsys.h')
-rw-r--r--os/kernel/include/chsys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/include/chsys.h b/os/kernel/include/chsys.h
index 52fa7331b..0a2fa67ad 100644
--- a/os/kernel/include/chsys.h
+++ b/os/kernel/include/chsys.h
@@ -40,10 +40,10 @@
/**
* @brief Performs a context switch.
*
- * @param[in] otp the thread to be switched out
* @param[in] ntp the thread to be switched in
+ * @param[in] otp the thread to be switched out
*/
-#define chSysSwitchI(otp, ntp) port_switch(otp, ntp)
+#define chSysSwitchI(ntp, otp) port_switch(ntp, otp)
/**
* @brief Raises the system interrupt priority mask to the maximum level.