diff options
author | jeff <jeff@FreeBSD.org> | 2008-03-12 10:12:01 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2008-03-12 10:12:01 +0000 |
commit | acb93d599cf9e4c7fc183f5568b740813472ff16 (patch) | |
tree | c3fbc6ec97828161d5fc648204b80efb7998da35 /sys/powerpc/booke | |
parent | 72babed2a5bcb10d29075f3c1495c9aca3e0af60 (diff) | |
download | FreeBSD-src-acb93d599cf9e4c7fc183f5568b740813472ff16.zip FreeBSD-src-acb93d599cf9e4c7fc183f5568b740813472ff16.tar.gz |
Remove kernel support for M:N threading.
While the KSE project was quite successful in bringing threading to
FreeBSD, the M:N approach taken by the kse library was never developed
to its full potential. Backwards compatibility will be provided via
libmap.conf for dynamically linked binaries and static binaries will
be broken.
Diffstat (limited to 'sys/powerpc/booke')
-rw-r--r-- | sys/powerpc/booke/trap.c | 5 | ||||
-rw-r--r-- | sys/powerpc/booke/vm_machdep.c | 2 |
2 files changed, 1 insertions, 6 deletions
diff --git a/sys/powerpc/booke/trap.c b/sys/powerpc/booke/trap.c index edd49f5..d50b754 100644 --- a/sys/powerpc/booke/trap.c +++ b/sys/powerpc/booke/trap.c @@ -343,11 +343,6 @@ syscall(struct trapframe *frame) PCPU_INC(cnt.v_syscall); -#if KSE - if (p->p_flag & P_SA) - thread_user_enter(td); -#endif - code = frame->fixreg[0]; params = (caddr_t)(frame->fixreg + FIRSTARG); n = NARGREG; diff --git a/sys/powerpc/booke/vm_machdep.c b/sys/powerpc/booke/vm_machdep.c index fb7f2db..eb85a6e 100644 --- a/sys/powerpc/booke/vm_machdep.c +++ b/sys/powerpc/booke/vm_machdep.c @@ -408,7 +408,7 @@ is_physical_memory(vm_offset_t addr) } /* - * KSE functions + * Thread functions */ void cpu_thread_exit(struct thread *td) |