From: John Levon Subject: Re: [PATCH] Partial fix for compat build non-portability Date: Wed, 10 Jan 2007 17:37:19 +0000 Message-ID: <20070110173719.GA31121@totally.trollied.org.uk> References: <09c345f40063806e220e.1168450161@xenbld> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <09c345f40063806e220e.1168450161@xenbld> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Jan 10, 2007 at 09:29:21AM -0700, john.levon@sun.com wrote: > Partial fix for compat build non-portability. This at least fixes all the compat gook to work on non-Linux, and I've checked that the contents of compat/ are the same on both Linux and Solaris. Still to be resolved is the pragma pack push issue; this is non-portable pragma only enabled on some targets, as it's intended for win32 compatibility not something for general use. We should be wrapping each structure in a pragma pack(4) / pragma pack() pair, but trying to fix that makes my head hurt, and Jan isn't interested. regards john