Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934993AbXHIFXI (ORCPT ); Thu, 9 Aug 2007 01:23:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754917AbXHIFWz (ORCPT ); Thu, 9 Aug 2007 01:22:55 -0400 Received: from gw.goop.org ([64.81.55.164]:47037 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753316AbXHIFWy (ORCPT ); Thu, 9 Aug 2007 01:22:54 -0400 Message-ID: <46BAA447.9010504@goop.org> Date: Wed, 08 Aug 2007 22:21:11 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.5 (X11/20070719) MIME-Version: 1.0 To: Steven Rostedt CC: Andi Kleen , Glauber de Oliveira Costa , LKML , akpm@linux-foundation.org, rusty@rustcorp.com.au, Ingo Molnar , chrisw@sous-sol.org, avi@qumranet.com, anthony@codemonkey.ws, virtualization@lists.linux-foundation.org, lguest@ozlabs.org Subject: Re: [PATCH 18/25] [PATCH] turn priviled operations into macros in entry.S References: <11865467522495-git-send-email-gcosta@redhat.com> <200708081138.23018.ak@suse.de> <200708081424.49896.ak@suse.de> <20070808133001.GD14419@one.firstfloor.org> In-Reply-To: X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 507 Lines: 14 Steven Rostedt wrote: > /* > * x86 arch doesn't have an easy way to find out where > * gs is located. So we need to read the MSR. But first > * we need to save off the rcx, rax and rdx. > Why don't you store it in gs? movq %gs:my_gs_base, %rax? J - 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/