Index: kernel/generic/src/main/uinit.c
===================================================================
--- kernel/generic/src/main/uinit.c	(revision 450448de4bbf8a458fd2ba9f7c70b64c67a5f4b0)
+++ kernel/generic/src/main/uinit.c	(revision 9a61ba5ab896f13e7e633f8d52af72325669aaf6)
@@ -80,4 +80,12 @@
 
 	free((uspace_arg_t *) arg);
+	
+	/*
+	 * Disable interrupts so that the execution of userspace() is not
+	 * disturbed by any interrupts as some of the userspace()
+	 * implementations will switch to the userspace stack before switching
+	 * the mode.
+	 */
+	(void) interrupts_disable();
 	userspace(&uarg);
 }
