From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 12/27] PPC: Add STLU Date: Fri, 16 Apr 2010 16:47:16 +1000 Message-ID: <1271400436.13059.178.camel@pasglop> References: <1271369518-11247-1-git-send-email-agraf@suse.de> <1271369518-11247-13-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org To: Alexander Graf Return-path: Received: from gate.crashing.org ([63.228.1.57]:34855 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755708Ab0DPGrW (ORCPT ); Fri, 16 Apr 2010 02:47:22 -0400 In-Reply-To: <1271369518-11247-13-git-send-email-agraf@suse.de> Sender: kvm-owner@vger.kernel.org List-ID: On Fri, 2010-04-16 at 00:11 +0200, Alexander Graf wrote: > For assembly code there are several "long" load and store defines already. > The one that's missing is the typical stack store, stdu/stwu. > > So let's add that define as well, making my KVM code happy. > Acked-by: Benjamin Herrenschmidt > Signed-off-by: Alexander Graf > --- > arch/powerpc/include/asm/asm-compat.h | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/arch/powerpc/include/asm/asm-compat.h b/arch/powerpc/include/asm/asm-compat.h > index a9b91ed..2048a6a 100644 > --- a/arch/powerpc/include/asm/asm-compat.h > +++ b/arch/powerpc/include/asm/asm-compat.h > @@ -21,6 +21,7 @@ > /* operations for longs and pointers */ > #define PPC_LL stringify_in_c(ld) > #define PPC_STL stringify_in_c(std) > +#define PPC_STLU stringify_in_c(stdu) > #define PPC_LCMPI stringify_in_c(cmpdi) > #define PPC_LONG stringify_in_c(.llong) > #define PPC_LONG_ALIGN stringify_in_c(.balign 8) > @@ -44,6 +45,7 @@ > /* operations for longs and pointers */ > #define PPC_LL stringify_in_c(lwz) > #define PPC_STL stringify_in_c(stw) > +#define PPC_STLU stringify_in_c(stwu) > #define PPC_LCMPI stringify_in_c(cmpwi) > #define PPC_LONG stringify_in_c(.long) > #define PPC_LONG_ALIGN stringify_in_c(.balign 4)