diff options
author | marcel <marcel@FreeBSD.org> | 2007-11-14 20:21:54 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2007-11-14 20:21:54 +0000 |
commit | 1e7c4f0a3f35313c194b0b0704fb21ab49c0d88e (patch) | |
tree | e09b10892aff720f030e45a1b3c6850510e18f75 /sys/powerpc | |
parent | 5a31a4a6d6dcd79ba50f5763054555c7fe59bfc1 (diff) | |
download | FreeBSD-src-1e7c4f0a3f35313c194b0b0704fb21ab49c0d88e.zip FreeBSD-src-1e7c4f0a3f35313c194b0b0704fb21ab49c0d88e.tar.gz |
o Rename cpu_thread_setup() to cpu_thread_alloc() to better
communicate that it relates to (is called by) thread_alloc()
o Add cpu_thread_free() which is called from thread_free()
to counter-act cpu_thread_alloc().
i386: Have cpu_thread_free() call cpu_thread_clean() to
preserve behaviour.
ia64: Have cpu_thread_free() call mtx_destroy() for the
mutex initialized in cpu_thread_alloc().
PR: ia64/118024
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/vm_machdep.c | 7 | ||||
-rw-r--r-- | sys/powerpc/powerpc/vm_machdep.c | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c index 1492a07..ce8416a 100644 --- a/sys/powerpc/aim/vm_machdep.c +++ b/sys/powerpc/aim/vm_machdep.c @@ -277,7 +277,7 @@ cpu_thread_clean(struct thread *td) } void -cpu_thread_setup(struct thread *td) +cpu_thread_alloc(struct thread *td) { struct pcb *pcb; @@ -288,6 +288,11 @@ cpu_thread_setup(struct thread *td) } void +cpu_thread_free(struct thread *td) +{ +} + +void cpu_thread_swapin(struct thread *td) { } diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c index 1492a07..ce8416a 100644 --- a/sys/powerpc/powerpc/vm_machdep.c +++ b/sys/powerpc/powerpc/vm_machdep.c @@ -277,7 +277,7 @@ cpu_thread_clean(struct thread *td) } void -cpu_thread_setup(struct thread *td) +cpu_thread_alloc(struct thread *td) { struct pcb *pcb; @@ -288,6 +288,11 @@ cpu_thread_setup(struct thread *td) } void +cpu_thread_free(struct thread *td) +{ +} + +void cpu_thread_swapin(struct thread *td) { } |