Date: Wed, 20 Jun 2018 06:40:19 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r335417 - stable/11/sys/compat/linuxkpi/common/include/linux Message-ID: <201806200640.w5K6eJB0021092@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Wed Jun 20 06:40:19 2018 New Revision: 335417 URL: https://svnweb.freebsd.org/changeset/base/335417 Log: MFC r334661: Implement the task_pid_vnr() function macro in the LinuxKPI. Submitted by: Johannes Lundberg <johalun0@gmail.com> Sponsored by: Mellanox Technologies Sponsored by: Limelight Networks Modified: stable/11/sys/compat/linuxkpi/common/include/linux/sched.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/compat/linuxkpi/common/include/linux/sched.h ============================================================================== --- stable/11/sys/compat/linuxkpi/common/include/linux/sched.h Wed Jun 20 06:39:32 2018 (r335416) +++ stable/11/sys/compat/linuxkpi/common/include/linux/sched.h Wed Jun 20 06:40:19 2018 (r335417) @@ -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?201806200640.w5K6eJB0021092>