qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Blue Swirl <blauwirbel@gmail.com>
To: Richard Henderson <rth@twiddle.net>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [PATCH 2/2] linux-user: Fix Sparc64 syscall returns.
Date: Sun, 25 Apr 2010 21:08:54 +0300	[thread overview]
Message-ID: <z2gf43fc5581004251108xae8c019fsd279db6a813490cf@mail.gmail.com> (raw)
In-Reply-To: <1272218485-12465-2-git-send-email-rth@twiddle.net>

Thanks, applied.

On 4/25/10, Richard Henderson <rth@twiddle.net> wrote:
> Signed-off-by: Richard Henderson <rth@twiddle.net>
>  ---
>   linux-user/main.c |    5 +++--
>   1 files changed, 3 insertions(+), 2 deletions(-)
>
>  diff --git a/linux-user/main.c b/linux-user/main.c
>  index b394c00..71a1b67 100644
>  --- a/linux-user/main.c
>  +++ b/linux-user/main.c
>  @@ -940,7 +940,8 @@ static void flush_windows(CPUSPARCState *env)
>
>   void cpu_loop (CPUSPARCState *env)
>   {
>  -    int trapnr, ret;
>  +    int trapnr;
>  +    abi_long ret;
>      target_siginfo_t info;
>
>      while (1) {
>  @@ -958,7 +959,7 @@ void cpu_loop (CPUSPARCState *env)
>                                env->regwptr[0], env->regwptr[1],
>                                env->regwptr[2], env->regwptr[3],
>                                env->regwptr[4], env->regwptr[5]);
>  -            if ((unsigned int)ret >= (unsigned int)(-515)) {
>  +            if ((abi_ulong)ret >= (abi_ulong)(-515)) {
>   #if defined(TARGET_SPARC64) && !defined(TARGET_ABI32)
>                  env->xcc |= PSR_CARRY;
>   #else
>
> --
>  1.6.6.1
>
>

  reply	other threads:[~2010-04-25 18:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-25 18:01 [Qemu-devel] [PATCH 1/2] target-sparc: Fix -singlestep Richard Henderson
2010-04-25 18:01 ` [Qemu-devel] [PATCH 2/2] linux-user: Fix Sparc64 syscall returns Richard Henderson
2010-04-25 18:08   ` Blue Swirl [this message]
2010-04-25 18:11 ` [Qemu-devel] Re: [PATCH 1/2] target-sparc: Fix -singlestep Blue Swirl
2010-04-26 17:17   ` [Qemu-devel] [PATCH] " Richard Henderson
2010-04-26 17:27     ` [Qemu-devel] " Blue Swirl
2010-04-26 17:27   ` [Qemu-devel] [PATCH] linux-user: Fix sparc32plus stat64 syscalls Richard Henderson
2010-04-26 17:34     ` [Qemu-devel] " Blue Swirl

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=z2gf43fc5581004251108xae8c019fsd279db6a813490cf@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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).