Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linuxkpi/common/include/linux/pid.h
Context not available. | |||||
}) | }) | ||||
#define get_pid_task(pid, type) ({ \ | #define get_pid_task(pid, type) ({ \ | ||||
struct task_struct *__ts; \ | struct task_struct *__ts; \ | ||||
hselasky: whitespace change? | |||||
CTASSERT((type) == PIDTYPE_PID); \ | CTASSERT((type) == PIDTYPE_PID); \ | ||||
__ts = linux_get_pid_task(pid); \ | __ts = linux_get_pid_task(pid); \ | ||||
__ts; \ | __ts; \ | ||||
}) | |||||
#define get_task_pid(task, type) ({ \ | |||||
CTASSERT((type) == PIDTYPE_PID); \ | |||||
curthread->td_proc->p_pid; \ | |||||
Done Inline ActionsPresumably this should be curthread->td_proc->p_pid? markj: Presumably this should be curthread->td_proc->p_pid? | |||||
}) | }) | ||||
struct task_struct; | struct task_struct; | ||||
Context not available. |
whitespace change?