aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-12-13 14:05:37 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-12-13 14:05:37 +0000
commitb196b277b9fe301ee2fa73f45be4d5e55d74e402 (patch)
treeab1c65c27bdbdd9056cb564fe47c4a92cd598f6a
parent9aaaebf0e2f93a70e725f9a4c0598bc636a78e38 (diff)
downloadChibiOS-b196b277b9fe301ee2fa73f45be4d5e55d74e402.tar.gz
ChibiOS-b196b277b9fe301ee2fa73f45be4d5e55d74e402.tar.bz2
ChibiOS-b196b277b9fe301ee2fa73f45be4d5e55d74e402.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@139 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--readme.txt1
-rw-r--r--src/include/threads.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/readme.txt b/readme.txt
index a48834cbc..4348c6cba 100644
--- a/readme.txt
+++ b/readme.txt
@@ -49,6 +49,7 @@ AVR-AT90CANx-GCC - Port on AVR AT90CAN128, not complete yet.
to keep the processor in the state it had when it was halted.
Note: This is not a kernel bug but something specific with the ARM port, the
other ports are not affected.
+- Fixed the macro chThdResumeI(), it had a regression.
*** 0.4.4 ***
- Fixed a very important bug in the preemption ARM code, important enough to
diff --git a/src/include/threads.h b/src/include/threads.h
index ee00039b3..0783c4e9a 100644
--- a/src/include/threads.h
+++ b/src/include/threads.h
@@ -219,7 +219,7 @@ extern "C" {
* \p chThdSuspend().
* @param tp the pointer to the thread
*/
-#define chThdResumeI(tp) chSchReadyI(tp)
+#define chThdResumeI(tp) chSchReadyI((tp), RDY_OK)
#endif /* _THREADS_H_ */