From: Rusty Russell Subject: Re: [PATCH 1/3] Standardize x86_64's desc_defs.h in preparation for exposure to i386. Date: Wed, 18 Jul 2007 21:44:45 +1000 Message-ID: <1184759085.10380.137.camel@localhost.localdomain> References: <1184743355.10380.112.camel@localhost.localdomain> <20070718090302.GA67073@muc.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , Andrew Morton , lkml - Kernel Mailing List To: Andi Kleen Return-path: In-Reply-To: <20070718090302.GA67073-h9bWGtP8wOw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Wed, 2007-07-18 at 11:03 +0200, Andi Kleen wrote: > On Wed, Jul 18, 2007 at 05:22:34PM +1000, Rusty Russell wrote: > > However, the currently (i386-derived) x86-64 ones are suboptimal. The > > In what way are they suboptimal? This was badly worded. They're "suboptimal" for use by i386 (ie. they clash with the i386 declaration and they'd need lots of casts to convert the code). Of course, treating them as 2 32-bit values on x86-64 *is* suboptimal, and this patch helps that, but that wasn't what I was talking about. > They seem to work just fine. Yep. But my first attempt was to simply #include from asm-i386, and that doesn't work fine 8( Thanks, Rusty. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/