]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - kernel/fork.c
Input: soc_button_array - convert to platform bus
[mirror_ubuntu-artful-kernel.git] / kernel / fork.c
index 1380d8ace334be7f7d6b49d760ed5c6013e4c7bb..0cf9cdb6e4919f254b32d04f6fdeb4943143a8d3 100644 (file)
@@ -1105,7 +1105,7 @@ static void copy_seccomp(struct task_struct *p)
         * needed because this new task is not yet running and cannot
         * be racing exec.
         */
-       BUG_ON(!spin_is_locked(&current->sighand->siglock));
+       assert_spin_locked(&current->sighand->siglock);
 
        /* Ref-count the new filter user, and assign it. */
        get_seccomp_filter(current);