Merge commit '12890d0f61fc' into arch-mips
[firefly-linux-kernel-4.4.55.git] / kernel / ptrace.c
index 1599157336a6c2be56037a510b7c2c28648201b8..612a5612685119938df3acd9145135b489bff1d6 100644 (file)
@@ -139,7 +139,7 @@ void __ptrace_unlink(struct task_struct *child)
  * RETURNS:
  * 0 on success, -ESRCH if %child is not ready.
  */
-int ptrace_check_attach(struct task_struct *child, bool ignore_state)
+static int ptrace_check_attach(struct task_struct *child, bool ignore_state)
 {
        int ret = -ESRCH;