Index: init/init.c
===================================================================
--- init/init.c	(revision c4c5de59abd6442cc66d82b804875450e089da68)
+++ init/init.c	(revision fcd10af6fb760d39a824242ffd2987aa8db7c809)
@@ -40,5 +40,5 @@
 atomic_t ftx;
 
-int __thread tls_prom;
+int __thread stage;
 
 extern void utest(void *arg);
@@ -258,14 +258,15 @@
 static int ptest(void *arg)
 {
-	tls_prom = -1;
-	printf("Pseudo thread stage%d.\n", -tls_prom);
-	tls_prom = -2;
+	stage = 1;
+	printf("Pseudo thread stage%d.\n", stage);
+	stage++;
 	psthread_schedule_next();
-	printf("Pseudo thread stage%d.\n", -tls_prom);
-	tls_prom = -3;
+	printf("Pseudo thread stage%d.\n", stage);
+	stage++;
 	psthread_schedule_next();
-	printf("Pseudo thread stage%d\n", -tls_prom);
+	printf("Pseudo thread stage%d.\n", stage);
 	psthread_schedule_next();
-	printf("Pseudo thread stage4.\n");
+	stage++;
+	printf("Pseudo thread stage%d.\n", stage);
 	psthread_schedule_next();
 	printf("Pseudo thread exiting.\n");
@@ -296,5 +297,5 @@
 	if (futex_down(&ftx) < 0)
 		printf("Futex failed.\n");
-/*
+
 	if ((tid = thread_create(utest, NULL, "utest")) != -1) {
 		printf("Created thread tid=%d\n", tid);
@@ -304,5 +305,5 @@
 		printf("Created thread tid=%d\n", tid);
 	}
-*/
+
 	int i;
 	
@@ -314,14 +315,14 @@
 
 
-	printf("Creating pathread\n");
-	tls_prom = 1;
+	printf("Creating pseudo thread.\n");
+	stage = 1;
 	ptid = psthread_create(ptest, NULL);
-	printf("Main thread stage%d\n",tls_prom);
-	tls_prom = 2;
+	printf("Main thread stage%d.\n", stage);
+	stage++;
 	psthread_schedule_next();;
-	printf("Main thread stage%d\n", tls_prom);
-	tls_prom = 3;
+	printf("Main thread stage%d.\n", stage);
+	stage++;
 	psthread_schedule_next();;
-	printf("Main thread stage%d\n", tls_prom);
+	printf("Main thread stage%d.\n", stage);
 
 	psthread_join(ptid);
