diff options
author | Martin Mares <mj@ucw.cz> | 1998-12-06 17:40:42 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-12-06 17:40:42 +0000 |
commit | 980ffedbb04bf3beedf147fc7dfed40cdbf968aa (patch) | |
tree | 075cadebb6c03fe359f77f51dc11d5e06d66f95f /sysdep/unix/sync-rt.c | |
parent | 0846203e896d8ab009217968e391b5e13ea3c4c6 (diff) |
Kernel syncer is now configurable. It will probably need some more
options, but at least basic tuning is possible now.
Diffstat (limited to 'sysdep/unix/sync-rt.c')
-rw-r--r-- | sysdep/unix/sync-rt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdep/unix/sync-rt.c b/sysdep/unix/sync-rt.c index 69b2bde1..169494e2 100644 --- a/sysdep/unix/sync-rt.c +++ b/sysdep/unix/sync-rt.c @@ -23,6 +23,8 @@ #include "unix.h" #include "krt.h" +struct proto *cf_krt_proto; + void krt_start(struct proto *P) { @@ -42,6 +44,7 @@ krt_preconfig(struct protocol *x) { struct krt_proto *p = (struct krt_proto *) proto_new(&proto_unix_kernel, sizeof(struct krt_proto)); + cf_krt_proto = &p->p; p->p.preference = DEF_PREF_UKR; p->p.start = krt_start; p->p.shutdown = krt_shutdown; |