Author: ed
Date: Sat Jun 18 12:44:14 2016
New Revision: 302006
URL: https://svnweb.freebsd.org/changeset/base/302006

Log:
  MFC r301406:
  
    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@

Modified:
  stable/10/sys/sys/soundcard.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/soundcard.h
==============================================================================
--- stable/10/sys/sys/soundcard.h       Sat Jun 18 12:42:49 2016        
(r302005)
+++ stable/10/sys/sys/soundcard.h       Sat Jun 18 12:44:14 2016        
(r302006)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to