Index: kernel/test/debug/mips1.c
===================================================================
--- kernel/test/debug/mips1.c	(revision 50661ab8590db56556df35c9b7fe8dd1f940ea72)
+++ kernel/test/debug/mips1.c	(revision 96348adc5fd6e05c187a0b5ada4b3c219815b609)
@@ -26,4 +26,6 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+ 
+#ifdef mips32
 
 #include <print.h>
@@ -38,17 +40,14 @@
 #include <arch.h>
 
+char * test_mips1(void)
+{
+	printf("You should enter kconsole debug mode now.\n");
+	
+	asm volatile (
+		"break\n"
+	);
+	
+	return "Back from debug mode";
+}
 
-void test_mips1(void)
-{
-#ifdef mips32
-	printf("MIPS debug test #1\n");
-
-	printf("You should enter kconsole debug mode now.\n");
-
-	asm __volatile__ ("break");
-
-	printf("Test passed.\n");
-#else
-	printf("This test is availaible only on MIPS32 platform.\n");
 #endif
-}
