Date: Sat, 2 Feb 2013 11:41:06 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246244 - head/sys/cddl/compat/opensolaris/sys Message-ID: <201302021141.r12Bf6cV027528@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avg Date: Sat Feb 2 11:41:05 2013 New Revision: 246244 URL: http://svnweb.freebsd.org/changeset/base/246244 Log: solaris compat: remove KM_ZERO - there is no such flag in Solaris and derivatives - the flag was added in an unrelated change - the flag is not used The proper way to allocate zeroed out memory is to use kmem_zalloc. MFC after: 3 days Modified: head/sys/cddl/compat/opensolaris/sys/kmem.h Modified: head/sys/cddl/compat/opensolaris/sys/kmem.h ============================================================================== --- head/sys/cddl/compat/opensolaris/sys/kmem.h Sat Feb 2 11:38:26 2013 (r246243) +++ head/sys/cddl/compat/opensolaris/sys/kmem.h Sat Feb 2 11:41:05 2013 (r246244) @@ -45,7 +45,6 @@ MALLOC_DECLARE(M_SOLARIS); #define KM_SLEEP M_WAITOK #define KM_PUSHPAGE M_WAITOK #define KM_NOSLEEP M_NOWAIT -#define KM_ZERO M_ZERO #define KM_NODEBUG M_NODUMP #define KMC_NODEBUG UMA_ZONE_NODUMP #define KMC_NOTOUCH 0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302021141.r12Bf6cV027528>