Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261703AbVASMZf (ORCPT ); Wed, 19 Jan 2005 07:25:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261707AbVASMZe (ORCPT ); Wed, 19 Jan 2005 07:25:34 -0500 Received: from one.firstfloor.org ([213.235.205.2]:20938 "EHLO one.firstfloor.org") by vger.kernel.org with ESMTP id S261703AbVASMZ3 (ORCPT ); Wed, 19 Jan 2005 07:25:29 -0500 To: "Eric W. Biederman" Cc: , Subject: Re: [PATCH 19/29] x86_64-kexec References: From: Andi Kleen Date: Wed, 19 Jan 2005 13:25:28 +0100 In-Reply-To: (Eric W. Biederman's message of "Wed, 19 Jan 2005 0:31:37 -0700") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 656 Lines: 25 "Eric W. Biederman" writes: [note an extensive review of all this code, but from a quick read...] > + > +static void load_segments(void) > +{ > + __asm__ __volatile__ ( > + "\tmovl $"STR(__KERNEL_DS)",%eax\n" > + "\tmovl %eax,%ds\n" > + "\tmovl %eax,%es\n" > + "\tmovl %eax,%ss\n" > + "\tmovl %eax,%fs\n" > + "\tmovl %eax,%gs\n" > + ); This misses an clobber for "eax" -Andi - 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/