patch-2.3.99-pre6 linux/arch/sparc/kernel/sys_solaris.c

Next file: linux/arch/sparc/kernel/sys_sunos.c
Previous file: linux/arch/sparc/kernel/sun4m_smp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre5/linux/arch/sparc/kernel/sys_solaris.c linux/arch/sparc/kernel/sys_solaris.c
@@ -23,9 +23,7 @@
 	int ret;
 
 	lock_kernel();
-	put_exec_domain(current->exec_domain);
-	current->personality = PER_SVR4;
-	current->exec_domain = lookup_exec_domain(PER_SVR4);
+	set_personality(PER_SVR4);
 
 	if (current->exec_domain && current->exec_domain->handler){
 		current->exec_domain->handler (0, regs);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)