From owner-svn-src-head@FreeBSD.ORG Sun Dec 14 23:12:37 2008 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57087106564A; Sun, 14 Dec 2008 23:12:37 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 456E08FC12; Sun, 14 Dec 2008 23:12:37 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id mBENCa0x076804; Sun, 14 Dec 2008 23:12:36 GMT (envelope-from marcel@svn.freebsd.org) Received: (from marcel@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id mBENCaor076803; Sun, 14 Dec 2008 23:12:36 GMT (envelope-from marcel@svn.freebsd.org) Message-Id: <200812142312.mBENCaor076803@svn.freebsd.org> From: Marcel Moolenaar Date: Sun, 14 Dec 2008 23:12:36 +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: r186096 - head/sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 14 Dec 2008 23:12:37 -0000 Author: marcel Date: Sun Dec 14 23:12:36 2008 New Revision: 186096 URL: http://svn.freebsd.org/changeset/base/186096 Log: Add __packed to the part sub-structure to compensate for the 32-bit default structure alignment on ARM. Modified: head/sys/sys/vtoc.h Modified: head/sys/sys/vtoc.h ============================================================================== --- head/sys/sys/vtoc.h Sun Dec 14 22:48:48 2008 (r186095) +++ head/sys/sys/vtoc.h Sun Dec 14 23:12:36 2008 (r186096) @@ -72,7 +72,7 @@ struct vtoc8 { struct { uint16_t tag; uint16_t flag; - } part[VTOC8_NPARTS]; + } part[VTOC8_NPARTS] __packed; uint16_t __alignment; uint32_t bootinfo[3]; uint32_t sanity;