freebsd-skq/sys/compat
Mateusz Guzik e015b1ab0a Avoid dynamic syscall overhead for statically compiled modules.
The kernel tracks syscall users so that modules can safely unregister them.

But if the module is not unloadable or was compiled into the kernel, there is
no need to do this.

Achieve this by adding SY_THR_STATIC_KLD macro which expands to SY_THR_STATIC
during kernel build and 0 otherwise.

Reviewed by:	kib (previous version)
MFC after:	2 weeks
2014-10-26 19:42:44 +00:00
..
freebsd32 Avoid dynamic syscall overhead for statically compiled modules. 2014-10-26 19:42:44 +00:00
ia32 Remove ia64. 2014-07-07 00:27:09 +00:00
linprocfs Fix build on 32-bit machines. 2014-09-18 20:29:17 +00:00
linsysfs Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
linux Remake Linux' SOUND_MIXER_INFO IOCTL as a wrapper around new FreeBSD's one. 2014-09-24 08:18:11 +00:00
ndis Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
netbsd Remove some more NetBSD compat shims and other unused bits from these 2012-09-10 18:49:49 +00:00
svr4 Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
x86bios Pull in r267961 and r267973 again. Fix for issues reported will follow. 2014-06-28 03:56:17 +00:00