diff options
author | julian <julian@FreeBSD.org> | 2001-09-12 08:38:13 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-09-12 08:38:13 +0000 |
commit | 5596676e6c6c1e81e899cd0531f9b1c28a292669 (patch) | |
tree | b1a19fcdf05759281fab0d89efb13f0fdf42102e /sys/netgraph/ng_parse.c | |
parent | 83e00d4274950d2b531c24692cd123538ffbddb9 (diff) | |
download | FreeBSD-src-5596676e6c6c1e81e899cd0531f9b1c28a292669.zip FreeBSD-src-5596676e6c6c1e81e899cd0531f9b1c28a292669.tar.gz |
KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
Diffstat (limited to 'sys/netgraph/ng_parse.c')
-rw-r--r-- | sys/netgraph/ng_parse.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/netgraph/ng_parse.c b/sys/netgraph/ng_parse.c index 5daf600..fa29c6b 100644 --- a/sys/netgraph/ng_parse.c +++ b/sys/netgraph/ng_parse.c @@ -378,6 +378,9 @@ ng_int8_unparse(const struct ng_parse_type *type, break; default: panic("%s: unknown type", __FUNCTION__); +#ifdef RESTARTABLE_PANICS + return(0); +#endif } NG_PARSE_APPEND(fmt, fval); *off += sizeof(int8_t); @@ -472,6 +475,9 @@ ng_int16_unparse(const struct ng_parse_type *type, break; default: panic("%s: unknown type", __FUNCTION__); +#ifdef RESTARTABLE_PANICS + return(0); +#endif } NG_PARSE_APPEND(fmt, fval); *off += sizeof(int16_t); @@ -566,6 +572,9 @@ ng_int32_unparse(const struct ng_parse_type *type, break; default: panic("%s: unknown type", __FUNCTION__); +#ifdef RESTARTABLE_PANICS + return(0); +#endif } NG_PARSE_APPEND(fmt, fval); *off += sizeof(int32_t); @@ -659,6 +668,9 @@ ng_int64_unparse(const struct ng_parse_type *type, break; default: panic("%s: unknown type", __FUNCTION__); +#ifdef RESTARTABLE_PANICS + return(0); +#endif } NG_PARSE_APPEND(fmt, fval); *off += sizeof(int64_t); |