Update of /cvsroot/ssic-linux/openssi/kernel/include/linux
In directory sc8-pr-cvs1:/tmp/cvs-serv32708/include/linux
Modified Files:
Tag: OPENSSI-RH
vproc.h
Log Message:
M openssi/kernel/cluster/ssi/vproc/vp_subr.c
M openssi/kernel/include/linux/vproc.h
M openssi/kernel/kernel/ksyms.c
Fixed symbols issue in intermezzo module.
Index: vproc.h
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/include/linux/vproc.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** vproc.h 3 Oct 2003 23:25:52 -0000 1.5
--- vproc.h 9 Oct 2003 00:31:06 -0000 1.6
***************
*** 738,755 ****
#define ssi_clear_tty(p) VPOP_SETCTTY(p->p_vproc, 0, 0, 0, VCTTY_CLEARCTTY);
! static inline pid_t ssi_get_ppid(pid_t pid)
! {
! struct vproc *vp = LOCATE_VPROC_PID(pid, "tmp get_ssi_pid");
! int ppid = 0;
!
! if (!vp)
! return pid;
!
! VPOP_GETATTR(vp, &ppid, 0, 0, 0, 0, 0, 0);
! VPROC_RELE(vp, "tmp get_ssi_pid");
! return ppid;
! }
!
! struct task_struct *ssi_get_ppid_task(struct task_struct *t);
#define GET_PPID_TASK(t) ssi_get_ppid_task(t)
--- 738,743 ----
#define ssi_clear_tty(p) VPOP_SETCTTY(p->p_vproc, 0, 0, 0, VCTTY_CLEARCTTY);
! extern pid_t ssi_get_ppid(pid_t pid);
! extern struct task_struct *ssi_get_ppid_task(struct task_struct *t);
#define GET_PPID_TASK(t) ssi_get_ppid_task(t)
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
|