svn commit: r301406 - head/sys/sys
Ed Schouten
ed at FreeBSD.org
Sat Jun 4 18:57:02 UTC 2016
Author: ed
Date: Sat Jun 4 18:57:00 2016
New Revision: 301406
URL: https://svnweb.freebsd.org/changeset/base/301406
Log:
Don't test for INKERNEL to check whether we're in kernel space.
It turns out that <machine/param.h> actually defines a macro under this
name, even when we're not in kernelspace. This causes us to suppress
some macro definitions that are used by userspace apps.
PR: 210026
Reported by: jbeich@
MFC after: 2 weeks
Modified:
head/sys/sys/soundcard.h
Modified: head/sys/sys/soundcard.h
==============================================================================
--- head/sys/sys/soundcard.h Sat Jun 4 17:40:23 2016 (r301405)
+++ head/sys/sys/soundcard.h Sat Jun 4 18:57:00 2016 (r301406)
@@ -1261,7 +1261,7 @@ typedef struct mixer_info {
*/
#define LOCL_STARTAUDIO 1
-#if (!defined(_KERNEL) && !defined(INKERNEL)) || defined(USE_SEQ_MACROS)
+#if !defined(_KERNEL) || defined(USE_SEQ_MACROS)
/*
* Some convenience macros to simplify programming of the
* /dev/sequencer interface
More information about the svn-src-all
mailing list