diff options
Diffstat (limited to 'testsuites/sptests/spcpuset01/test.c')
-rw-r--r-- | testsuites/sptests/spcpuset01/test.c | 10 |
1 files changed, 5 insertions, 5 deletions
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() { |