summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/sys/proc.h')
-rw-r--r--usr/src/uts/common/sys/proc.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/usr/src/uts/common/sys/proc.h b/usr/src/uts/common/sys/proc.h
index 7d2209132d..757bbc87e7 100644
--- a/usr/src/uts/common/sys/proc.h
+++ b/usr/src/uts/common/sys/proc.h
@@ -153,7 +153,7 @@ typedef struct proc {
char p_stat; /* status of process */
char p_wcode; /* current wait code */
ushort_t p_pidflag; /* flags protected only by pidlock */
- int p_wdata; /* current wait return value */
+ int p_wdata; /* current wait return value */
pid_t p_ppid; /* process id of parent */
struct proc *p_link; /* forward link */
struct proc *p_parent; /* ptr to parent process */
@@ -162,16 +162,16 @@ typedef struct proc {
struct proc *p_psibling; /* ptr to prev sibling proc on chain */
struct proc *p_sibling_ns; /* prt to siblings with new state */
struct proc *p_child_ns; /* prt to children with new state */
- struct proc *p_next; /* active chain link next */
- struct proc *p_prev; /* active chain link prev */
- struct proc *p_nextofkin; /* gets accounting info at exit */
- struct proc *p_orphan;
- struct proc *p_nextorph;
+ struct proc *p_next; /* active chain link next */
+ struct proc *p_prev; /* active chain link prev */
+ struct proc *p_nextofkin; /* gets accounting info at exit */
+ struct proc *p_orphan;
+ struct proc *p_nextorph;
struct proc *p_pglink; /* process group hash chain link next */
struct proc *p_ppglink; /* process group hash chain link prev */
struct sess *p_sessp; /* session information */
- struct pid *p_pidp; /* process ID info */
- struct pid *p_pgidp; /* process group ID info */
+ struct pid *p_pidp; /* process ID info */
+ struct pid *p_pgidp; /* process group ID info */
/*
* Fields protected by p_lock
*/
@@ -216,7 +216,7 @@ typedef struct proc {
* Per process lwp and kernel thread stuff
*/
id_t p_lwpid; /* most recently allocated lwpid */
- int p_lwpcnt; /* number of lwps in this process */
+ int p_lwpcnt; /* number of lwps in this process */
int p_lwprcnt; /* number of not stopped lwps */
int p_lwpdaemon; /* number of TP_DAEMON lwps */
int p_lwpwait; /* number of lwps in lwp_wait() */
@@ -701,7 +701,7 @@ extern kthread_t *thread_create(
void (*proc)(),
void *arg,
size_t len,
- proc_t *pp,
+ proc_t *pp,
int state,
pri_t pri);
extern void thread_exit(void) __NORETURN;
@@ -748,7 +748,7 @@ extern int tsd_agent_set(kthread_t *, uint_t, void *);
/* lwp function prototypes */
extern kthread_t *lwp_kernel_create(proc_t *, void (*)(), void *, int, pri_t);
-extern klwp_t *lwp_create(
+extern klwp_t *lwp_create(
void (*proc)(),
caddr_t arg,
size_t len,