Index: uspace/lib/libc/arch/mips32/src/entry.s
===================================================================
--- uspace/lib/libc/arch/mips32/src/entry.s	(revision 32443b0b118c5c83d2c933b59a696bad00c9c1ca)
+++ uspace/lib/libc/arch/mips32/src/entry.s	(revision 4541ae41d7ce895a89a42a784040f0156fb8e79d)
@@ -36,4 +36,5 @@
 ## User-space task entry point
 #
+# $a0 ($4) contains the PCB pointer
 #
 .ent __entry
@@ -41,6 +42,5 @@
 	.frame $sp, 32, $31
 	.cpload $25
-	
-	
+
 	# Mips o32 may store its arguments on stack, make space (16 bytes),
 	# so that it could work with -O0
@@ -49,9 +49,10 @@
 	addiu $sp, -32
 	.cprestore 16   # Allow PIC code
-	
+
+	# Pass pcb_ptr to __main() as the first argument. pcb_ptr is already
+	# in $a0. As the first argument is passed in $a0, no operation
+	# is needed.
+
 	jal __main
-	nop
-	
-	jal main
 	nop
 	
