Up to [cvs.NetBSD.org] / src / sys / miscfs / kernfs
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: netbsd-2-0-RELEASE
Revision 1.20.2.3 / (download) - annotate - [select for diffs], Sun May 23 10:46:05 2004 UTC (19 years, 11 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE
Branch point for: netbsd-2
Changes since 1.20.2.2: +4 -0
lines
Diff to previous 1.20.2.2 (colored) to branchpoint 1.20 (colored)
Pull up revision 1.23 (requested by atatat in ticket #374): Tweak sysctl setup functions (the macros, actually) for use in lkms, and tweak lkminit_*.c (where applicable) to call them, and to call sysctl_teardown() when being unloaded. This consists of (1) making setup functions not be static when being compiled as lkms (change to sys/sysctl.h), (2) making prototypes visible for the various setup functions in header files (changes to various header files), and (3) making simple "load" and "unload" functions in the actual lkminit stuff. linux_sysctl.c also needs its root exposed (ie, made not static) for this (when built as an lkm).