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
This commit is contained in:
Andrew Gallatin 2001-03-15 02:32:26 +00:00
parent b86388c179
commit 64007795de
3 changed files with 0 additions and 6 deletions

View file

@ -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

View file

@ -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

View file

@ -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