Index: kernel/test/fpu/fpu1_ia64.c
===================================================================
--- kernel/test/fpu/fpu1_ia64.c	(revision add04f7e0e3352fd9691d3bf5b84b887766fc27b)
+++ kernel/test/fpu/fpu1_ia64.c	(revision 7d440e37e1f2b1dd61cdeb800e63b239608e913d)
@@ -64,5 +64,4 @@
 static atomic_t threads_fault;
 static waitq_t can_start;
-static bool sh_quiet;
 
 static void e(void *data)
@@ -86,6 +85,5 @@
 		
 		if ((int) (100000000 * e) != E_10e8) {
-			if (!sh_quiet)
-				printf("tid%" PRIu64 ": e*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (100000000 * e), (unative_t) E_10e8);
+			TPRINTF("tid%" PRIu64 ": e*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (100000000 * e), (unative_t) E_10e8);
 			atomic_inc(&threads_fault);
 			break;
@@ -120,6 +118,5 @@
 		
 		if ((int) (1000000 * pi) != PI_10e8) {
-			if (!sh_quiet)
-				printf("tid%" PRIu64 ": pi*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (1000000 * pi), (unative_t) (PI_10e8 / 100));
+			TPRINTF("tid%" PRIu64 ": pi*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (1000000 * pi), (unative_t) (PI_10e8 / 100));
 			atomic_inc(&threads_fault);
 			break;
@@ -129,8 +126,7 @@
 }
 
-char * test_fpu1(bool quiet)
+char *test_fpu1(void)
 {
 	unsigned int i, total = 0;
-	sh_quiet = quiet;
 	
 	waitq_initialize(&can_start);
@@ -138,13 +134,11 @@
 	atomic_set(&threads_fault, 0);
 	
-	if (!quiet)
-		printf("Creating %u threads... ", 2 * THREADS);
+	TPRINTF("Creating %u threads... ", 2 * THREADS);
 	
-	for (i = 0; i < THREADS; i++) {  
+	for (i = 0; i < THREADS; i++) {
 		thread_t *t;
 		
 		if (!(t = thread_create(e, NULL, TASK, 0, "e", false))) {
-			if (!quiet)
-				printf("could not create thread %u\n", 2 * i);
+			TPRINTF("could not create thread %u\n", 2 * i);
 			break;
 		}
@@ -153,6 +147,5 @@
 		
 		if (!(t = thread_create(pi, NULL, TASK, 0, "pi", false))) {
-			if (!quiet)
-				printf("could not create thread %u\n", 2 * i + 1);
+			TPRINTF("could not create thread %u\n", 2 * i + 1);
 			break;
 		}
@@ -161,6 +154,5 @@
 	}
 	
-	if (!quiet)
-		printf("ok\n");
+	TPRINTF("ok\n");
 	
 	thread_sleep(1);
@@ -168,6 +160,5 @@
 	
 	while (atomic_get(&threads_ok) != (long) total) {
-		if (!quiet)
-			printf("Threads left: %d\n", total - atomic_get(&threads_ok));
+		TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok));
 		thread_sleep(1);
 	}
Index: kernel/test/fpu/fpu1_skip.c
===================================================================
--- kernel/test/fpu/fpu1_skip.c	(revision add04f7e0e3352fd9691d3bf5b84b887766fc27b)
+++ kernel/test/fpu/fpu1_skip.c	(revision 7d440e37e1f2b1dd61cdeb800e63b239608e913d)
@@ -29,5 +29,5 @@
 #include <test.h>
 
-char * test_fpu1(bool quiet)
+char *test_fpu1(void)
 {
 	return NULL;
Index: kernel/test/fpu/fpu1_x86.c
===================================================================
--- kernel/test/fpu/fpu1_x86.c	(revision add04f7e0e3352fd9691d3bf5b84b887766fc27b)
+++ kernel/test/fpu/fpu1_x86.c	(revision 7d440e37e1f2b1dd61cdeb800e63b239608e913d)
@@ -61,5 +61,4 @@
 static atomic_t threads_fault;
 static waitq_t can_start;
-static bool sh_quiet;
 
 static void e(void *data)
@@ -83,6 +82,5 @@
 		
 		if ((int) (100000000 * e) != E_10e8) {
-			if (!sh_quiet)
-				printf("tid%" PRIu64 ": e*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (100000000 * e), (unative_t) E_10e8);
+			TPRINTF("tid%" PRIu64 ": e*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (100000000 * e), (unative_t) E_10e8);
 			atomic_inc(&threads_fault);
 			break;
@@ -117,6 +115,5 @@
 		
 		if ((int) (100000000 * pi) != PI_10e8) {
-			if (!sh_quiet)
-				printf("tid%" PRIu64 ": pi*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (100000000 * pi), (unative_t) PI_10e8);
+			TPRINTF("tid%" PRIu64 ": pi*10e8=%zd should be %" PRIun "\n", THREAD->tid, (unative_t) (100000000 * pi), (unative_t) PI_10e8);
 			atomic_inc(&threads_fault);
 			break;
@@ -126,8 +123,7 @@
 }
 
-char * test_fpu1(bool quiet)
+char *test_fpu1(void)
 {
 	unsigned int i, total = 0;
-	sh_quiet = quiet;
 	
 	waitq_initialize(&can_start);
@@ -135,13 +131,11 @@
 	atomic_set(&threads_fault, 0);
 	
-	if (!quiet)
-		printf("Creating %u threads... ", 2 * THREADS);
+	TPRINTF("Creating %u threads... ", 2 * THREADS);
 	
-	for (i = 0; i < THREADS; i++) {  
+	for (i = 0; i < THREADS; i++) {
 		thread_t *t;
 		
 		if (!(t = thread_create(e, NULL, TASK, 0, "e", false))) {
-			if (!quiet)
-				printf("could not create thread %u\n", 2 * i);
+			TPRINTF("could not create thread %u\n", 2 * i);
 			break;
 		}
@@ -150,6 +144,5 @@
 		
 		if (!(t = thread_create(pi, NULL, TASK, 0, "pi", false))) {
-			if (!quiet)
-				printf("could not create thread %u\n", 2 * i + 1);
+			TPRINTF("could not create thread %u\n", 2 * i + 1);
 			break;
 		}
@@ -158,6 +151,5 @@
 	}
 	
-	if (!quiet)
-		printf("ok\n");
+	TPRINTF("ok\n");
 	
 	thread_sleep(1);
@@ -165,6 +157,5 @@
 	
 	while (atomic_get(&threads_ok) != (long) total) {
-		if (!quiet)
-			printf("Threads left: %d\n", total - atomic_get(&threads_ok));
+		TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok));
 		thread_sleep(1);
 	}
Index: kernel/test/fpu/mips2.c
===================================================================
--- kernel/test/fpu/mips2.c	(revision add04f7e0e3352fd9691d3bf5b84b887766fc27b)
+++ kernel/test/fpu/mips2.c	(revision 7d440e37e1f2b1dd61cdeb800e63b239608e913d)
@@ -44,5 +44,4 @@
 static atomic_t threads_fault;
 static waitq_t can_start;
-static bool sh_quiet;
 
 static void testit1(void *data)
@@ -70,6 +69,5 @@
 		
 		if (arg != after_arg) {
-			if (!sh_quiet)
-				printf("General reg tid%" PRIu64 ": arg(%d) != %d\n", THREAD->tid, arg, after_arg);
+			TPRINTF("General reg tid%" PRIu64 ": arg(%d) != %d\n", THREAD->tid, arg, after_arg);
 			atomic_inc(&threads_fault);
 			break;
@@ -102,6 +100,5 @@
 		
 		if (arg != after_arg) {
-			if (!sh_quiet)
-				printf("General reg tid%" PRIu64 ": arg(%d) != %d\n", THREAD->tid, arg, after_arg);
+			TPRINTF("General reg tid%" PRIu64 ": arg(%d) != %d\n", THREAD->tid, arg, after_arg);
 			atomic_inc(&threads_fault);
 			break;
@@ -112,8 +109,7 @@
 
 
-char * test_mips2(bool quiet)
+char *test_mips2(void)
 {
 	unsigned int i, total = 0;
-	sh_quiet = quiet;
 	
 	waitq_initialize(&can_start);
@@ -121,6 +117,5 @@
 	atomic_set(&threads_fault, 0);
 	
-	if (!quiet)
-		printf("Creating %u threads... ", 2 * THREADS);
+	TPRINTF("Creating %u threads... ", 2 * THREADS);
 	
 	for (i = 0; i < THREADS; i++) {
@@ -128,6 +123,5 @@
 		
 		if (!(t = thread_create(testit1, (void *) ((unative_t) 2 * i), TASK, 0, "testit1", false))) {
-			if (!quiet)
-				printf("could not create thread %u\n", 2 * i);
+			TPRINTF("could not create thread %u\n", 2 * i);
 			break;
 		}
@@ -136,6 +130,5 @@
 		
 		if (!(t = thread_create(testit2, (void *) ((unative_t) 2 * i + 1), TASK, 0, "testit2", false))) {
-			if (!quiet)
-				printf("could not create thread %u\n", 2 * i + 1);
+			TPRINTF("could not create thread %u\n", 2 * i + 1);
 			break;
 		}
@@ -144,6 +137,5 @@
 	}
 	
-	if (!quiet)
-		printf("ok\n");
+	TPRINTF("ok\n");
 		
 	thread_sleep(1);
@@ -151,6 +143,5 @@
 	
 	while (atomic_get(&threads_ok) != (long) total) {
-		if (!quiet)
-			printf("Threads left: %d\n", total - atomic_get(&threads_ok));
+		TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok));
 		thread_sleep(1);
 	}
Index: kernel/test/fpu/mips2_skip.c
===================================================================
--- kernel/test/fpu/mips2_skip.c	(revision add04f7e0e3352fd9691d3bf5b84b887766fc27b)
+++ kernel/test/fpu/mips2_skip.c	(revision 7d440e37e1f2b1dd61cdeb800e63b239608e913d)
@@ -29,5 +29,5 @@
 #include <test.h>
 
-char * test_mips2(bool quiet)
+char *test_mips2(void)
 {
 	return NULL;
Index: kernel/test/fpu/sse1.c
===================================================================
--- kernel/test/fpu/sse1.c	(revision add04f7e0e3352fd9691d3bf5b84b887766fc27b)
+++ kernel/test/fpu/sse1.c	(revision 7d440e37e1f2b1dd61cdeb800e63b239608e913d)
@@ -44,6 +44,4 @@
 static atomic_t threads_fault;
 static waitq_t can_start;
-static bool sh_quiet;
-
 
 static void testit1(void *data)
@@ -52,9 +50,9 @@
 	int arg __attribute__((aligned(16))) = (int) ((unative_t) data);
 	int after_arg __attribute__((aligned(16)));
-
+	
 	thread_detach(THREAD);
 	
 	waitq_sleep(&can_start);
-
+	
 	for (i = 0; i < ATTEMPTS; i++) {
 		asm volatile (
@@ -62,5 +60,5 @@
 			: [arg] "=m" (arg)
 		);
-
+		
 		delay(DELAY);
 		asm volatile (
@@ -70,6 +68,5 @@
 		
 		if (arg != after_arg) {
-			if (!sh_quiet)
-				printf("tid%" PRIu64 ": arg(%d) != %d\n", THREAD->tid, arg, after_arg);
+			TPRINTF("tid%" PRIu64 ": arg(%d) != %d\n", THREAD->tid, arg, after_arg);
 			atomic_inc(&threads_fault);
 			break;
@@ -88,5 +85,5 @@
 	
 	waitq_sleep(&can_start);
-
+	
 	for (i = 0; i < ATTEMPTS; i++) {
 		asm volatile (
@@ -94,5 +91,5 @@
 			: [arg] "=m" (arg)
 		);
-
+		
 		scheduler();
 		asm volatile (
@@ -102,6 +99,5 @@
 		
 		if (arg != after_arg) {
-			if (!sh_quiet)
-				printf("tid%" PRIu64 ": arg(%d) != %d\n", THREAD->tid, arg, after_arg);
+			TPRINTF("tid%" PRIu64 ": arg(%d) != %d\n", THREAD->tid, arg, after_arg);
 			atomic_inc(&threads_fault);
 			break;
@@ -111,9 +107,7 @@
 }
 
-
-char * test_sse1(bool quiet)
+char *test_sse1(void)
 {
 	unsigned int i, total = 0;
-	sh_quiet = quiet;
 	
 	waitq_initialize(&can_start);
@@ -121,13 +115,11 @@
 	atomic_set(&threads_fault, 0);
 	
-	if (!quiet)
-		printf("Creating %u threads... ", 2 * THREADS);
-
+	TPRINTF("Creating %u threads... ", 2 * THREADS);
+	
 	for (i = 0; i < THREADS; i++) {
 		thread_t *t;
 		
 		if (!(t = thread_create(testit1, (void *) ((unative_t) 2 * i), TASK, 0, "testit1", false))) {
-			if (!quiet)
-				printf("could not create thread %u\n", 2 * i);
+			TPRINTF("could not create thread %u\n", 2 * i);
 			break;
 		}
@@ -136,6 +128,5 @@
 		
 		if (!(t = thread_create(testit2, (void *) ((unative_t) 2 * i + 1), TASK, 0, "testit2", false))) {
-			if (!quiet)
-				printf("could not create thread %u\n", 2 * i + 1);
+			TPRINTF("could not create thread %u\n", 2 * i + 1);
 			break;
 		}
@@ -144,13 +135,11 @@
 	}
 	
-	if (!quiet)
-		printf("ok\n");
-		
+	TPRINTF("ok\n");
+	
 	thread_sleep(1);
 	waitq_wakeup(&can_start, WAKEUP_ALL);
 	
 	while (atomic_get(&threads_ok) != (long) total) {
-		if (!quiet)
-			printf("Threads left: %d\n", total - atomic_get(&threads_ok));
+		TPRINTF("Threads left: %d\n", total - atomic_get(&threads_ok));
 		thread_sleep(1);
 	}
Index: kernel/test/fpu/sse1_skip.c
===================================================================
--- kernel/test/fpu/sse1_skip.c	(revision add04f7e0e3352fd9691d3bf5b84b887766fc27b)
+++ kernel/test/fpu/sse1_skip.c	(revision 7d440e37e1f2b1dd61cdeb800e63b239608e913d)
@@ -29,5 +29,5 @@
 #include <test.h>
 
-char * test_sse1(bool quiet)
+char *test_sse1(void)
 {
 	return NULL;
