summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spcpuset01
diff options
context:
space:
mode:
authorJennifer Averett <jennifer.averett@oarcorp.com>2014-03-07 09:06:57 -0600
committerJennifer Averett <jennifer.averett@oarcorp.com>2014-03-07 09:15:15 -0600
commit5c3323492ecd894753efa5abed433655a8181c83 (patch)
treef2b6145882a261e35a6e9b4198235e3db0895c70 /testsuites/sptests/spcpuset01
parentsmptests: Add smppsxaffinity02. (diff)
downloadrtems-5c3323492ecd894753efa5abed433655a8181c83.tar.bz2
Remove trailing whitespace in previous patches
Diffstat (limited to 'testsuites/sptests/spcpuset01')
-rw-r--r--testsuites/sptests/spcpuset01/init.c2
-rw-r--r--testsuites/sptests/spcpuset01/test.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/testsuites/sptests/spcpuset01/init.c b/testsuites/sptests/spcpuset01/init.c
index 138438fd68..acc19dfef3 100644
--- a/testsuites/sptests/spcpuset01/init.c
+++ b/testsuites/sptests/spcpuset01/init.c
@@ -79,7 +79,7 @@ static void test_cpu_set_case_1(size_t cpu)
printf( "Exercise CPU_ZERO, CPU_SET(%u), and CPU_ISET\n", cpu );
CPU_ZERO(&set1);
CPU_SET(cpu, &set1);
-
+
/* test if all bits except 1 clear */
for (i=0 ; i<CPU_SETSIZE ; i++) {
if (i==cpu)
diff --git a/testsuites/sptests/spcpuset01/test.c b/testsuites/sptests/spcpuset01/test.c
index 2691afff32..34c539c456 100644
--- a/testsuites/sptests/spcpuset01/test.c
+++ b/testsuites/sptests/spcpuset01/test.c
@@ -35,7 +35,7 @@ void test_cpu_and_case_1(size_t cpu1, size_t cpu2)
/* AND set1 and set2 */
printf( "Exercise CPU_AND with bits %d,%d\n",cpu1,cpu2 );
CPU_AND(&set3, &set1, &set2);
-
+
/* test if all bits clear except cpu1 */
for (i=0 ; i<CPU_SETSIZE ; i++) {
if (i== cpu1)
@@ -53,7 +53,7 @@ void test_cpu_nand_case_1(size_t cpu1, size_t cpu2)
/* NAND set1 and set2 */
printf( "Exercise CPU_NAND with bits %d,%d\n",cpu1,cpu2 );
CPU_NAND(&set3, &set1, &set2);
-
+
/* test if all bits clear except cpu1 */
for (i=0 ; i<CPU_SETSIZE ; i++) {
if (i== cpu1)
@@ -70,7 +70,7 @@ void test_cpu_or_case_1(size_t cpu1, size_t cpu2)
/* OR set1 and set2 */
printf( "Exercise CPU_OR with bits %d,%d\n",cpu1,cpu2 );
CPU_OR(&set3, &set1, &set2);
-
+
/* test if all bits clear except cpu1 */
for (i=0 ; i<CPU_SETSIZE ; i++) {
if ((i== cpu1) || (i==cpu2))
@@ -87,7 +87,7 @@ void test_cpu_xor_case_1(size_t cpu1, size_t cpu2)
/* XOR set1 and set2 */
printf( "Exercise CPU_XOR with bits %d,%d\n",cpu1,cpu2 );
CPU_XOR(&set3, &set1, &set2);
-
+
/* test if all bits clear except cpu1 */
for (i=0 ; i<CPU_SETSIZE ; i++) {
if (i==cpu2)
@@ -107,7 +107,7 @@ static void test_logic01_setup(size_t cpu1, size_t cpu2)
CPU_SET(cpu2, &set1);
CPU_COPY(&set2, &set1);
CPU_CLR(cpu2, &set2);
-}
+}
void cpuset_logic_test()
{