summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-02-23 16:04:31 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-05 17:12:06 -0600
commit6b998feeb28341fc24f54c8a542969633af2a5b3 (patch)
tree15ccfc0b7c8cc72e5f8fb77829817419303cf4e2 /cpukit
parenttmtests/tmcontext01: New test (diff)
downloadrtems-6b998feeb28341fc24f54c8a542969633af2a5b3.tar.bz2
taskmode: Formatting correction
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/rtems/src/taskmode.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/cpukit/rtems/src/taskmode.c b/cpukit/rtems/src/taskmode.c
index 8650ccc250..4c3d492fce 100644
--- a/cpukit/rtems/src/taskmode.c
+++ b/cpukit/rtems/src/taskmode.c
@@ -6,7 +6,7 @@
*/
/*
- * COPYRIGHT (c) 1989-2010.
+ * COPYRIGHT (c) 1989-2014.
* On-Line Applications Research Corporation (OAR).
*
* The license and distribution terms for this file may be
@@ -93,10 +93,8 @@ rtems_status_code rtems_task_mode(
*/
if ( mask & RTEMS_PREEMPT_MASK ) {
#if defined( RTEMS_SMP )
- if (
- rtems_configuration_is_smp_enabled()
- && !_Modes_Is_preempt( mode_set )
- ) {
+ if ( rtems_configuration_is_smp_enabled() &&
+ !_Modes_Is_preempt( mode_set ) ) {
return RTEMS_NOT_IMPLEMENTED;
}
#endif