mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
b86388c179
commit
64007795de
3 changed files with 0 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue