From owner-cvs-src@FreeBSD.ORG Thu Mar 6 17:24:28 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B8C5106566B; Thu, 6 Mar 2008 17:24:28 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6B6178FC1A; Thu, 6 Mar 2008 17:24:28 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m26HOSlC026402; Thu, 6 Mar 2008 17:24:28 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m26HOSPO026401; Thu, 6 Mar 2008 17:24:28 GMT (envelope-from marcel) Message-Id: <200803061724.m26HOSPO026401@repoman.freebsd.org> From: Marcel Moolenaar Date: Thu, 6 Mar 2008 17:24:28 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/sys pcpu.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2008 17:24:28 -0000 marcel 2008-03-06 17:24:28 UTC FreeBSD src repository Modified files: sys/sys pcpu.h Log: Move the PCPU_MD_FIELDS last in struct pcpu. While this header is private to the kernel, some ports define _KERNEL and include this header. While arguably this is wrong, it's also reality. By having the MD fields last, architectures that have CPU-specific variations of PCPU_MD_FIELDS will at least have the MI fields at a constant offset. Of course, having all MI fields first helps kernel debugging as well, so this is not a change without some benefits to us. This change does not result in an ABI breakage, because this header is not part of the ABI. Recompilation of lsof is required though :-) Revision Changes Path 1.26 +11 -1 src/sys/sys/pcpu.h