kvm-ppc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: kvm-ppc@vger.kernel.org
Subject: Re: [PATCH 05/23] Add common PPC64 KVM asm helpers
Date: Wed, 08 Jul 2009 07:08:30 +0000	[thread overview]
Message-ID: <1247036910.6066.134.camel@pasglop> (raw)
In-Reply-To: <1246976262-4826-6-git-send-email-agraf@suse.de>

On Wed, 2009-07-08 at 08:59 +0200, Alexander Graf wrote:
> > Can't you define a C structure and generate offsets in asm-offsets.h
> > using asm-offsets.c like we do for most other stuff ?
> 
> Oh looking at asm-offsets.c you already do define a pt_regs
> structure  
> on stack. I guess I could reuse that.
> 
Yes. Beware that it also includes STACK_FRAME_OVERHEAD so you need to
take that into account.

Cheers,
Ben.



      parent reply	other threads:[~2009-07-08  7:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-07 14:17 [PATCH 05/23] Add common PPC64 KVM asm helpers Alexander Graf
2009-07-08  4:17 ` Benjamin Herrenschmidt
2009-07-08  6:53 ` Alexander Graf
2009-07-08  6:59 ` Alexander Graf
2009-07-08  7:07 ` Benjamin Herrenschmidt
2009-07-08  7:08 ` Benjamin Herrenschmidt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1247036910.6066.134.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=kvm-ppc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).