]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/exec.c
ARM: OMAP: Fix OMAP1 compilation after MPUIO check change
[linux-2.6-omap-h63xx.git] / fs / exec.c
index f7aabfeca0331fa0b09b16d28a4931af95b7c29a..54135df2a9662cbf1f222ee468067812f52e1f72 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -751,7 +751,7 @@ no_thread_group:
 
                write_lock_irq(&tasklist_lock);
                spin_lock(&oldsighand->siglock);
-               spin_lock(&newsighand->siglock);
+               spin_lock_nested(&newsighand->siglock, SINGLE_DEPTH_NESTING);
 
                rcu_assign_pointer(current->sighand, newsighand);
                recalc_sigpending();