summaryrefslogtreecommitdiffstats
path: root/src/include/sys/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/sys/task.h')
-rw-r--r--src/include/sys/task.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/sys/task.h b/src/include/sys/task.h
index 0fbec617b..c52da0627 100644
--- a/src/include/sys/task.h
+++ b/src/include/sys/task.h
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2010,2012 */
+/* COPYRIGHT International Business Machines Corp. 2010,2013 */
/* */
/* p1 */
/* */
@@ -85,7 +85,7 @@ void task_end2(void* retval) NO_RETURN;
* @brief End the calling task as if it crashed.
*
*/
-#define task_crash() ((*(char*)NULL) = 'F')
+#define task_crash() ((*(volatile char*)NULL) = 'F')
/** @fn task_gettid
* @brief Get task ID of calling task.
OpenPOWER on IntegriCloud