freebsd-skq/sys
Warner Losh 6d3ffec0e5 Make this build on 4.x machines again (building a -current kernel on a
-stable machine via the old-school methods):

Use __FreeBSD_version in preference to __FreeBSD__ >= N where possible.
Define a single variable mythread which is set to curproc or curthread
depending on the OS version (with a comment saying it is a white lie on
4.x since it really is a proc).

NB: __FreeBSD__ is the OS level of the host machine, not the target,
and should never be used, if possible, as __FreeBSD__ >= N.
2002-04-19 22:28:09 +00:00
..
alpha Since WITNESS doesn't just do mutexes, remove "mutex" from the WITNESS 2002-04-18 03:44:44 +00:00
amd64 Since WITNESS doesn't just do mutexes, remove "mutex" from the WITNESS 2002-04-18 03:44:44 +00:00
arm Guard against redefining __gnuc_va_list. 2002-03-24 11:25:46 +00:00
boot Allocate sufficient pages to hold the bootinfo block and stop 2002-04-19 06:43:09 +00:00
cam Fix 3 of the four problems with my last indentation fix. ("fixing" the 2002-04-01 05:41:33 +00:00
coda Lock proctree_lock instead of pgrpsess_lock. 2002-04-16 17:11:34 +00:00
compat - Lock proctree_lock instead of pgrpsess_lock. 2002-04-16 17:04:21 +00:00
conf Respect setting of NM to allow cross-building. 2002-04-19 09:04:53 +00:00
contrib We don't need ip_ipsec_pxy.c in userland. 2002-03-26 13:42:09 +00:00
crypto just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
ddb Commented out locking that would be used in the ps command if locks were 2002-04-11 21:01:34 +00:00
dev Make this build on 4.x machines again (building a -current kernel on a 2002-04-19 22:28:09 +00:00
fs Cleanup of logic, flow and comments. 2002-04-18 14:47:34 +00:00
geom Make kernel dumps work with GEOM. 2002-04-19 09:24:12 +00:00
gnu Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
i4b Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
i386 Since WITNESS doesn't just do mutexes, remove "mutex" from the WITNESS 2002-04-18 03:44:44 +00:00
ia64 Remove the bootinfo kludge. We get the address of the bootinfo 2002-04-19 06:35:55 +00:00
isa GC various bits and pieces of USERCONFIG from all over the place. 2002-04-09 11:18:46 +00:00
isofs/cd9660 Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
kern In sendfile(), use the vn_rdwr() helper function, rather than manually 2002-04-19 13:46:24 +00:00
libkern Remove bogus include of <machine/ansi.h>. 2002-04-11 06:53:40 +00:00
modules Build modules on ia64: 2002-04-19 09:44:50 +00:00
net just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
netatalk Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
netatm - Nuke some more #ifdef sun related sections. 2002-04-19 21:38:43 +00:00
netgraph Use 'struct callout' instead of 'struct callout_handle' to avoid 2002-04-14 17:37:35 +00:00
netinet just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
netinet6 just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
netipx Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
netkey just merged cosmetic changes from KAME to ease sync between KAME and FreeBSD. 2002-04-19 04:46:24 +00:00
netnatm Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
netncp Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
netns Change callers of mtx_init() to pass in an appropriate lock type name. In 2002-04-04 21:03:38 +00:00
netsmb Recongnize more error codes returned by W2K servers. 2002-04-17 03:14:28 +00:00
nfs Remove unused include. 2002-03-20 10:12:07 +00:00
nfsclient The recent NFS forced unmount improvements introduced a side-effect 2002-04-17 01:07:29 +00:00
nfsserver Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
pc98 Rework the kernel environment subsystem. We now convert the static 2002-04-17 13:06:36 +00:00
pccard Change the suser() API to take advantage of td_ucred as well as do a 2002-04-01 21:31:13 +00:00
pci Add DEVICE_POLLING support to the "rl" driver. 2002-04-16 22:03:14 +00:00
posix4 Remove __P. 2002-03-19 22:20:14 +00:00
powerpc Correct a comment. 2002-04-16 12:15:17 +00:00
rpc
security/lomac Use the proc lock to protect p_ucred while we read a few items from it. 2002-04-11 21:17:45 +00:00
sparc64 Since WITNESS doesn't just do mutexes, remove "mutex" from the WITNESS 2002-04-18 03:44:44 +00:00
svr4
sys Add a SI_DUMPDEV flag for devices. 2002-04-19 09:19:37 +00:00
tools constify 2002-04-01 19:22:04 +00:00
ufs Remove support for using soon to be retired "special" poll(2) ops. 2002-04-18 14:52:28 +00:00
vm o Move the acquisition of Giant from vm_fault() to the point 2002-04-19 04:20:31 +00:00
Makefile