qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas_ml@monjalon.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] target-ppc: remove useless line
Date: Fri, 28 May 2010 21:00:45 +0200	[thread overview]
Message-ID: <1275073245-20352-1-git-send-email-thomas_ml@monjalon.net> (raw)

From: Thomas Monjalon <thomas@monjalon.net>

This line was a bit clear.
The next lines set or reset this bit (LE) depending of another bit (ILE).
So the first line is useless.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
 target-ppc/helper.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/target-ppc/helper.c b/target-ppc/helper.c
index 3d843b5..dabf1fd 100644
--- a/target-ppc/helper.c
+++ b/target-ppc/helper.c
@@ -2591,7 +2591,6 @@ static inline void powerpc_excp(CPUState *env, int excp_model, int excp)
 #if 0 /* Fix this: not on all targets */
     new_msr &= ~((target_ulong)1 << MSR_PMM);
 #endif
-    new_msr &= ~((target_ulong)1 << MSR_LE);
     if (msr_ile)
         new_msr |= (target_ulong)1 << MSR_LE;
     else
-- 
1.7.1

             reply	other threads:[~2010-05-28 19:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-28 19:00 Thomas Monjalon [this message]
2010-05-29 13:31 ` [Qemu-devel] [PATCH] target-ppc: remove useless line Andreas Färber
2010-05-31  9:49   ` Alexander Graf
2010-05-31 13:11     ` Thomas Monjalon
2010-05-31 14:59       ` Alexander Graf
2010-05-31 18:45 ` Aurelien Jarno

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=1275073245-20352-1-git-send-email-thomas_ml@monjalon.net \
    --to=thomas_ml@monjalon.net \
    --cc=qemu-devel@nongnu.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).