Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750785AbWH1RZx (ORCPT ); Mon, 28 Aug 2006 13:25:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750795AbWH1RZw (ORCPT ); Mon, 28 Aug 2006 13:25:52 -0400 Received: from terminus.zytor.com ([192.83.249.54]:29837 "EHLO terminus.zytor.com") by vger.kernel.org with ESMTP id S1750785AbWH1RZw (ORCPT ); Mon, 28 Aug 2006 13:25:52 -0400 Message-ID: <44F326CA.9040206@zytor.com> Date: Mon, 28 Aug 2006 10:24:26 -0700 From: "H. Peter Anvin" User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: Andi Kleen CC: Jeremy Fitzhardinge , linux-kernel@vger.kernel.org, Chuck Ebbert <76306.1226@compuserve.com>, Zachary Amsden , Jan Beulich , Andrew Morton Subject: Re: [PATCH RFC 3/6] Use %gs as the PDA base-segment in the kernel. References: <20060827084417.918992193@goop.org> <200608271757.18621.ak@suse.de> <44F1D464.5020304@goop.org> <200608272019.15067.ak@suse.de> In-Reply-To: <200608272019.15067.ak@suse.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 757 Lines: 25 Andi Kleen wrote: > On Sunday 27 August 2006 19:20, Jeremy Fitzhardinge wrote: >> Andi Kleen wrote: >>>> +1: movw GS(%esp), %gs >>>> >>> movl is recommended in 32bit mode >>> >> arch/i386/kernel/entry.S: Assembler messages: >> arch/i386/kernel/entry.S:334: Error: suffix or operands invalid for `mov' > > Looks like a gas bug to me. > Not so much a bug as a misfeature. They changed the meaning of "movw" and "movl" on segment registers between versions. Either way, just "mov" should work. -hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/