X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Flinux%2Fpid_namespace.h;h=38d10326246afbbec371b5cddc2beaff37f1dd48;hb=002e473d1c3cffa876f2aec5017913d95aace316;hp=d82fe825d62f9571fe6412700d854a326f5d8c4c;hpb=33217379becdee25021cabb25032b3bf703d0e96;p=cascardo%2Flinux.git diff --git a/include/linux/pid_namespace.h b/include/linux/pid_namespace.h index d82fe825d62f..38d10326246a 100644 --- a/include/linux/pid_namespace.h +++ b/include/linux/pid_namespace.h @@ -79,11 +79,7 @@ static inline void zap_pid_ns_processes(struct pid_namespace *ns) } #endif /* CONFIG_PID_NS */ -static inline struct pid_namespace *task_active_pid_ns(struct task_struct *tsk) -{ - return tsk->nsproxy->pid_ns; -} - +extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk); void pidhash_init(void); void pidmap_init(void);