summaryrefslogtreecommitdiffstats
path: root/sys/sun4v
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2007-11-14 20:21:54 +0000
committermarcel <marcel@FreeBSD.org>2007-11-14 20:21:54 +0000
commit1e7c4f0a3f35313c194b0b0704fb21ab49c0d88e (patch)
treee09b10892aff720f030e45a1b3c6850510e18f75 /sys/sun4v
parent5a31a4a6d6dcd79ba50f5763054555c7fe59bfc1 (diff)
downloadFreeBSD-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/sun4v')
-rw-r--r--sys/sun4v/sun4v/vm_machdep.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sun4v/sun4v/vm_machdep.c b/sys/sun4v/sun4v/vm_machdep.c
index fbfa4a0..63a002f 100644
--- a/sys/sun4v/sun4v/vm_machdep.c
+++ b/sys/sun4v/sun4v/vm_machdep.c
@@ -111,7 +111,7 @@ cpu_thread_clean(struct thread *td)
}
void
-cpu_thread_setup(struct thread *td)
+cpu_thread_alloc(struct thread *td)
{
struct pcb *pcb;
@@ -127,6 +127,11 @@ cpu_thread_setup(struct thread *td)
}
void
+cpu_thread_free(struct thread *td)
+{
+}
+
+void
cpu_thread_swapin(struct thread *td)
{
}
OpenPOWER on IntegriCloud