From owner-svn-src-head@FreeBSD.ORG Sat Feb 2 11:41:06 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5E6BE75; Sat, 2 Feb 2013 11:41:06 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 482C1BF3; Sat, 2 Feb 2013 11:41:06 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r12Bf61U027529; Sat, 2 Feb 2013 11:41:06 GMT (envelope-from avg@svn.freebsd.org) Received: (from avg@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r12Bf6cV027528; Sat, 2 Feb 2013 11:41:06 GMT (envelope-from avg@svn.freebsd.org) Message-Id: <201302021141.r12Bf6cV027528@svn.freebsd.org> From: Andriy Gapon Date: Sat, 2 Feb 2013 11:41:06 +0000 (UTC) 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 X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 11:41:06 -0000 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