summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-09-17 16:21:48 +0000
committerjake <jake@FreeBSD.org>2002-09-17 16:21:48 +0000
commitdd967ac5612427169892e17b13efb8485675f99a (patch)
tree463102a268fb91923b5d684b48ff5b1355c821b4
parent5477187d2c65cc2c1f2d3541e4947a034717ce09 (diff)
downloadFreeBSD-src-dd967ac5612427169892e17b13efb8485675f99a.zip
FreeBSD-src-dd967ac5612427169892e17b13efb8485675f99a.tar.gz
Fix standard kse breakge of non-x86 platforms. sigh.
Pointy hat to: kse
-rw-r--r--sys/sparc64/sparc64/trap.c2
-rw-r--r--sys/sparc64/sparc64/vm_machdep.c18
2 files changed, 2 insertions, 18 deletions
diff --git a/sys/sparc64/sparc64/trap.c b/sys/sparc64/sparc64/trap.c
index 65eda04..a5221c7 100644
--- a/sys/sparc64/sparc64/trap.c
+++ b/sys/sparc64/sparc64/trap.c
@@ -581,7 +581,7 @@ syscall(struct trapframe *tf)
* but for now do it every time.
*/
td->td_mailbox = (void *)fuword((caddr_t)td->td_kse->ke_mailbox
- + offsetof(struct kse_mailbox, kmbx_current_thread));
+ + offsetof(struct kse_mailbox, km_curthread));
if ((td->td_mailbox == NULL) ||
(td->td_mailbox == (void *)-1)) {
td->td_mailbox = NULL; /* single thread it.. */
diff --git a/sys/sparc64/sparc64/vm_machdep.c b/sys/sparc64/sparc64/vm_machdep.c
index 8282e93..ed011e3 100644
--- a/sys/sparc64/sparc64/vm_machdep.c
+++ b/sys/sparc64/sparc64/vm_machdep.c
@@ -119,29 +119,13 @@ cpu_thread_setup(struct thread *td)
}
void
-cpu_save_upcall(struct thread *td, struct kse *newkse)
-{
-}
-
-void
cpu_set_upcall(struct thread *td, void *pcb)
{
}
void
-cpu_set_args(struct thread *td, struct kse *ke)
-{
-}
-
-void
-cpu_free_kse_mdstorage(struct kse *ke)
-{
-}
-
-int
-cpu_export_context(struct thread *td)
+cpu_set_upcall_kse(struct thread *td, struct kse *ke)
{
- return (0);
}
/*
OpenPOWER on IntegriCloud