From owner-svn-src-stable@FreeBSD.ORG Tue Apr 13 01:22:17 2010 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95665106564A; Tue, 13 Apr 2010 01:22:17 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 843CE8FC12; Tue, 13 Apr 2010 01:22:17 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3D0tCEQ093011; Tue, 13 Apr 2010 00:55:12 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3D0tCL1093009; Tue, 13 Apr 2010 00:55:12 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <201004130055.o3D0tCL1093009@svn.freebsd.org> From: Warner Losh Date: Tue, 13 Apr 2010 00:55:12 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206536 - stable/8/sys/sys X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Apr 2010 01:22:17 -0000 Author: imp Date: Tue Apr 13 00:55:11 2010 New Revision: 206536 URL: http://svn.freebsd.org/changeset/base/206536 Log: MFC 205838: Mark the vtoc.h structure as packed so that it is the right size and layout on arm. MFC after: 7 days Modified: stable/8/sys/sys/vtoc.h Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/sys/vtoc.h ============================================================================== --- stable/8/sys/sys/vtoc.h Tue Apr 13 00:48:54 2010 (r206535) +++ stable/8/sys/sys/vtoc.h Tue Apr 13 00:55:11 2010 (r206536) @@ -97,7 +97,7 @@ struct vtoc8 { } map[VTOC8_NPARTS]; uint16_t magic; uint16_t cksum; -}; +} __packed; #ifdef CTASSERT CTASSERT(sizeof(struct vtoc8) == 512);