summaryrefslogtreecommitdiffstats
path: root/sys/dev/speaker
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1993-07-27 10:52:31 +0000
committerdg <dg@FreeBSD.org>1993-07-27 10:52:31 +0000
commited0c2480407bece983d693e1753de8d830a5f5ba (patch)
treef74d745c1c162578afcb421239425fdd31e58e8a /sys/dev/speaker
parent17f98e8cfc1b74c9d12ce4853fc1d7635a20dfb1 (diff)
downloadFreeBSD-src-ed0c2480407bece983d693e1753de8d830a5f5ba.zip
FreeBSD-src-ed0c2480407bece983d693e1753de8d830a5f5ba.tar.gz
* Applied fixes from Bruce Evans to fix COW bugs, >1MB kernel loading,
profiling, and various protection checks that cause security holes and system crashes. * Changed min/max/bcmp/ffs/strlen to be static inline functions - included from cpufunc.h in via systm.h. This change improves performance in many parts of the kernel - up to 5% in the networking layer alone. Note that this requires systm.h to be included in any file that uses these functions otherwise it won't be able to find them during the load. * Fixed incorrect call to splx() in if_is.c * Fixed bogus variable assignment to splx() in if_ed.c
Diffstat (limited to 'sys/dev/speaker')
-rw-r--r--sys/dev/speaker/spkr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index ffeec08..04feb2f 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -12,6 +12,7 @@
#if NSPEAKER > 0
#include "param.h"
+#include "systm.h"
#include "kernel.h"
#include "errno.h"
#include "buf.h"
OpenPOWER on IntegriCloud