forked from Imagelibrary/rtems
Remove trailing whitespace in previous patches
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user