Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 9 Jan 2003 15:12:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 9 Jan 2003 15:12:56 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:34317 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Thu, 9 Jan 2003 15:12:55 -0500 Date: Thu, 9 Jan 2003 12:20:11 -0800 (PST) From: Linus Torvalds To: "Richard B. Johnson" cc: Luca Barbieri , Linux-Kernel ML Subject: Re: [PATCH] Use %ebp rather than %ebx for thread_info pointer In-Reply-To: Message-ID: 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: 608 Lines: 17 On Thu, 9 Jan 2003, Richard B. Johnson wrote: > > If you use EBP as an index register, i.e., "movl (%ebp), %eax", it > will be relative to the SS, not ES or DS. Is this what you want? That's fine, both SS and DS are 32-bit flat segments everywhere in the kernel (they have different descriptors - __KERNEL_DS vs __USER_DS, but they do the same thing) Linus - 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/