[rtems commit] cpuset.c: Fix formatting
Joel Sherrill
joel at rtems.org
Thu May 22 22:50:47 UTC 2014
Module: rtems
Branch: master
Commit: 40741c44acb513395ca2a0148a510ed957f06033
Changeset: http://git.rtems.org/rtems/commit/?id=40741c44acb513395ca2a0148a510ed957f06033
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon May 19 15:26:20 2014 -0500
cpuset.c: Fix formatting
---
cpukit/score/src/cpuset.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cpukit/score/src/cpuset.c b/cpukit/score/src/cpuset.c
index 95fbd45..8d38963 100644
--- a/cpukit/score/src/cpuset.c
+++ b/cpukit/score/src/cpuset.c
@@ -46,8 +46,8 @@ void _CPU_set_Handler_initialization()
cpuset_default.setsize = sizeof( *cpuset_default.set );
CPU_ZERO_S( cpuset_default.setsize, &cpuset_default.preallocated );
- for (cpu_index=0; cpu_index<cpu_count; cpu_index++)
- CPU_SET_S((int) cpu_index, cpuset_default.setsize, cpuset_default.set );
+ for ( cpu_index=0; cpu_index<cpu_count; cpu_index++ )
+ CPU_SET_S( (int) cpu_index, cpuset_default.setsize, cpuset_default.set );
}
/**
@@ -64,7 +64,7 @@ bool _CPU_set_Is_valid( const cpu_set_t *cpuset, size_t setsize )
if ( !cpuset )
false;
- if (setsize != cpuset_default.setsize )
+ if ( setsize != cpuset_default.setsize )
return false;
/* Validate at least 1 valid cpu is set in cpuset */
More information about the vc
mailing list