diff options
author | julian <julian@FreeBSD.org> | 2003-02-27 02:05:19 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2003-02-27 02:05:19 +0000 |
commit | 3fc9836d46e83fd0a5d0daa46f5639be3db193c1 (patch) | |
tree | 91973dfb2c47deb06ea09f1614aa486db1bd95dd /sys/amd64 | |
parent | ef32e2b20964fad2388f8146483b4dc4bc569c2f (diff) | |
download | FreeBSD-src-3fc9836d46e83fd0a5d0daa46f5639be3db193c1.zip FreeBSD-src-3fc9836d46e83fd0a5d0daa46f5639be3db193c1.tar.gz |
Change the process flags P_KSES to be P_THREADED.
This is just a cosmetic change but I've been meaning to do it for about a year.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/pmap.c | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/sys_machdep.c | 2 | ||||
-rw-r--r-- | sys/amd64/amd64/trap.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 7531770..d30be9c 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -3381,7 +3381,7 @@ pmap_activate(struct thread *td) /* XXXKSE this is wrong. * pmap_activate is for the current thread on the current cpu */ - if (p->p_flag & P_KSES) { + if (p->p_flag & P_THREADED) { /* Make sure all other cr3 entries are updated. */ /* what if they are running? XXXKSE (maybe abort them) */ FOREACH_THREAD_IN_PROC(p, td) { diff --git a/sys/amd64/amd64/sys_machdep.c b/sys/amd64/amd64/sys_machdep.c index 5fcad03..3e2ec74 100644 --- a/sys/amd64/amd64/sys_machdep.c +++ b/sys/amd64/amd64/sys_machdep.c @@ -129,7 +129,7 @@ i386_extend_pcb(struct thread *td) 0 /* granularity */ }; - if (td->td_proc->p_flag & P_KSES) + if (td->td_proc->p_flag & P_THREADED) return (EINVAL); /* XXXKSE */ /* XXXKSE All the code below only works in 1:1 needs changing */ ext = (struct pcb_ext *)kmem_alloc(kernel_map, ctob(IOPAGES+1)); diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 85e4f30..ab1f1f0 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -958,7 +958,7 @@ syscall(frame) td->td_frame = &frame; if (td->td_ucred != p->p_ucred) cred_update_thread(td); - if (p->p_flag & P_KSES) + if (p->p_flag & P_THREADED) thread_user_enter(p, td); params = (caddr_t)frame.tf_esp + sizeof(int); code = frame.tf_eax; |