summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2001-03-15 02:32:26 +0000
committergallatin <gallatin@FreeBSD.org>2001-03-15 02:32:26 +0000
commit1e1aef3713e79a600a134caaa6e2665050a32129 (patch)
treef69a2dbe07f0dba37ec2ef3f5510e9446a6117be /sys/powerpc/aim
parent97642444ac396dc3ee73771af34e963a49a80c57 (diff)
downloadFreeBSD-src-1e1aef3713e79a600a134caaa6e2665050a32129.zip
FreeBSD-src-1e1aef3713e79a600a134caaa6e2665050a32129.tar.gz
remove bogus check -- for kernel threads we fork off of proc0, not curproc
This was causing panics when modules which create kthreads were loaded after boot. pointed out by: jake, jhb
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/vm_machdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c
index 856d0bb..4ecff4b 100644
--- a/sys/powerpc/aim/vm_machdep.c
+++ b/sys/powerpc/aim/vm_machdep.c
@@ -166,8 +166,6 @@ cpu_fork(p1, p2, flags)
* is started, to resume here, returning nonzero from setjmp.
*/
#ifdef DIAGNOSTIC
- if (p1 != curproc)
- panic("cpu_fork: curproc");
alpha_fpstate_check(p1);
#endif
OpenPOWER on IntegriCloud