Date: Tue, 5 Jun 2018 15:40:10 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334661 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <201806051540.w55FeA0u039167@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Tue Jun 5 15:40:09 2018 New Revision: 334661 URL: https://svnweb.freebsd.org/changeset/base/334661 Log: Implement the task_pid_vnr() function macro in the LinuxKPI. Submitted by: Johannes Lundberg <johalun0@gmail.com> MFC after: 1 week Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks Modified: head/sys/compat/linuxkpi/common/include/linux/sched.h Modified: head/sys/compat/linuxkpi/common/include/linux/sched.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/sched.h Tue Jun 5 15:37:28 2018 (r334660) +++ head/sys/compat/linuxkpi/common/include/linux/sched.h Tue Jun 5 15:40:09 2018 (r334661) @@ -89,6 +89,7 @@ struct task_struct { #define task_pid_group_leader(task) (task)->task_thread->td_proc->p_pid #define task_pid(task) ((task)->pid) #define task_pid_nr(task) ((task)->pid) +#define task_pid_vnr(task) ((task)->pid) #define get_pid(x) (x) #define put_pid(x) do { } while (0) #define current_euid() (curthread->td_ucred->cr_uid)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806051540.w55FeA0u039167>