From owner-svn-src-all@FreeBSD.ORG Sat Mar 17 21:51:40 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76EDB106564A; Sat, 17 Mar 2012 21:51:40 +0000 (UTC) (envelope-from rmh@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 61AF48FC08; Sat, 17 Mar 2012 21:51:40 +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 q2HLpe43088551; Sat, 17 Mar 2012 21:51:40 GMT (envelope-from rmh@svn.freebsd.org) Received: (from rmh@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q2HLpeI4088549; Sat, 17 Mar 2012 21:51:40 GMT (envelope-from rmh@svn.freebsd.org) Message-Id: <201203172151.q2HLpeI4088549@svn.freebsd.org> From: Robert Millan Date: Sat, 17 Mar 2012 21:51:40 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r233096 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Mar 2012 21:51:40 -0000 Author: rmh Date: Sat Mar 17 21:51:39 2012 New Revision: 233096 URL: http://svn.freebsd.org/changeset/base/233096 Log: Hide a few declarations from userland (including `struct inpcbgroup'). This removes the dependency on which was introduced with SVN rev 222748 (due to CACHE_LINE_SIZE). Reviewed by: bde MFC after: 10 days Modified: head/sys/netinet/in_pcb.h Modified: head/sys/netinet/in_pcb.h ============================================================================== --- head/sys/netinet/in_pcb.h Sat Mar 17 19:40:37 2012 (r233095) +++ head/sys/netinet/in_pcb.h Sat Mar 17 21:51:39 2012 (r233096) @@ -364,6 +364,7 @@ struct inpcbinfo { void *ipi_pspare[2]; }; +#ifdef _KERNEL /* * Connection groups hold sets of connections that have similar CPU/thread * affinity. Each connection belongs to exactly one connection group. @@ -406,7 +407,6 @@ struct inpcbgroup { #define INP_WLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_WLOCKED) #define INP_UNLOCK_ASSERT(inp) rw_assert(&(inp)->inp_lock, RA_UNLOCKED) -#ifdef _KERNEL /* * These locking functions are for inpcb consumers outside of sys/netinet, * more specifically, they were added for the benefit of TOE drivers. The