From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by ozlabs.org (Postfix) with ESMTP id 9D2E2DE593 for ; Tue, 19 Aug 2008 05:28:43 +1000 (EST) Date: Mon, 18 Aug 2008 15:28:41 -0400 (EDT) From: Steven Rostedt To: Scott Wood Subject: Re: ftrace introduces instability into kernel 2.6.27(-rc2,-rc3) In-Reply-To: <48A9C5C0.5010705@freescale.com> Message-ID: References: <48591941.4070408@extricom.com> <48A92E15.2080709@extricom.com> <48A9901B.1080900@redhat.com> <20080818154746.GA26835@Krystal> <48A9AFA7.8080508@freescale.com> <48A9C5C0.5010705@freescale.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Eran Liberty , Mathieu Desnoyers , linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Steven Rostedt , "Paul E. McKenney" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 18 Aug 2008, Scott Wood wrote: > Steven Rostedt wrote: > > What syntax to do that with? > > > > lwz %1,0(%U2) > > stu %3, 0(%X2) > > > > I'm new to those. (and the above does not compile) > > lwz%U2%X2 %1, %2 > stw%U2%X2 %3, %2 Thanks, that's new to me. > > > > Why stwu with an offset of zero, > > > > How else to do it? stwu %3, (%2) does not compile for me. > > stw %3, 0(%2) > > The "u" tells it to write the effective address back to %2 -- but with an > offset of zero, the effective address is unchanged. Ah! Right! /me should open up his PowerPC ref books again :-p -- Steve