Date: Sat, 18 Jun 2016 12:44:14 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r302006 - stable/10/sys/sys Message-ID: <201606181244.u5ICiEHX043899@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606181244.u5ICiEHX043899>