From 529c593ece216e4aaffd36bd940cb94f1fa63129 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 23 Feb 2000 00:40:54 +0000 Subject: Merge with 2.3.43. I did ignore all modifications to the qlogicisp.c driver due to the Origin A64 hacks. --- kernel/exec_domain.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'kernel/exec_domain.c') diff --git a/kernel/exec_domain.c b/kernel/exec_domain.c index c31678a4e..1ee1eee4d 100644 --- a/kernel/exec_domain.c +++ b/kernel/exec_domain.c @@ -103,12 +103,11 @@ asmlinkage long sys_personality(unsigned long personality) unsigned long old_personality; int ret; - lock_kernel(); - ret = current->personality; if (personality == 0xffffffff) - goto out; + return current->personality; ret = -EINVAL; + lock_kernel(); it = lookup_exec_domain(personality); if (!it) goto out; -- cgit v1.2.3