X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=kernel%2Fexec_domain.c;h=a9e6bad9f706b05f96b2e7c4e16e6cb75acd6f4e;hb=780db6c104de48104501f5943361f2371564b85d;hp=3c2eaea66b1e16347bcd564b0c492b8f026dcf21;hpb=ae3e0218621db0590163b2d5c424ef1f340e3cc6;p=linux-2.6-omap-h63xx.git diff --git a/kernel/exec_domain.c b/kernel/exec_domain.c index 3c2eaea66b1..a9e6bad9f70 100644 --- a/kernel/exec_domain.c +++ b/kernel/exec_domain.c @@ -57,7 +57,7 @@ lookup_exec_domain(u_long personality) { struct exec_domain * ep; u_long pers = personality(personality); - + read_lock(&exec_domains_lock); for (ep = exec_domains; ep; ep = ep->next) { if (pers >= ep->pers_low && pers <= ep->pers_high)