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
This commit is contained in:
Ed Schouten 2016-06-04 18:57:00 +00:00
parent 66afa4152f
commit c54bbc2756

View File

@ -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