From owner-svn-src-projects@FreeBSD.ORG Sun May 29 18:13:04 2011 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A286106564A; Sun, 29 May 2011 18:13:04 +0000 (UTC) (envelope-from attilio@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5B48A8FC13; Sun, 29 May 2011 18:13:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p4TID4K9040874; Sun, 29 May 2011 18:13:04 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p4TID4hY040872; Sun, 29 May 2011 18:13:04 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201105291813.p4TID4hY040872@svn.freebsd.org> From: Attilio Rao Date: Sun, 29 May 2011 18:13:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r222456 - projects/largeSMP/sys/sys X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2011 18:13:04 -0000 Author: attilio Date: Sun May 29 18:13:04 2011 New Revision: 222456 URL: http://svn.freebsd.org/changeset/base/222456 Log: Remove the unnecessary _KERNEL protection Modified: projects/largeSMP/sys/sys/cpuset.h Modified: projects/largeSMP/sys/sys/cpuset.h ============================================================================== --- projects/largeSMP/sys/sys/cpuset.h Sun May 29 18:09:14 2011 (r222455) +++ projects/largeSMP/sys/sys/cpuset.h Sun May 29 18:13:04 2011 (r222456) @@ -125,7 +125,6 @@ (d)->__bits[__i] &= ~(s)->__bits[__i]; \ } while (0) -#ifdef _KERNEL #define CPU_CLR_ATOMIC(n, p) \ atomic_clear_long(&(p)->__bits[(n)/_NCPUBITS], __cpuset_mask(n)) @@ -152,7 +151,6 @@ atomic_store_rel_long(&(t)->__bits[__i], \ (f)->__bits[__i]); \ } while (0) -#endif /* !_KERNEL */ /* * Valid cpulevel_t values.