xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Matthew Daley <mattjd@gmail.com>
To: xen-devel@lists.xen.org
Cc: Matthew Daley <mattjd@gmail.com>
Subject: [PATCH] x86 shadow: Fix typo in sh_invlpg sl3 page presence check
Date: Mon, 12 Nov 2012 23:00:18 +1300	[thread overview]
Message-ID: <1352714418-5776-1-git-send-email-mattjd@gmail.com> (raw)


Signed-off-by: Matthew Daley <mattjd@gmail.com>

diff --git a/xen/arch/x86/mm/shadow/multi.c b/xen/arch/x86/mm/shadow/multi.c
index b0e6d72..39cb7de 100644
--- a/xen/arch/x86/mm/shadow/multi.c
+++ b/xen/arch/x86/mm/shadow/multi.c
@@ -3505,7 +3505,7 @@ sh_invlpg(struct vcpu *v, unsigned long va)
             perfc_incr(shadow_invlpg_fault);
             return 0;
         }
-        if ( (!shadow_l3e_get_flags(sl3e) & _PAGE_PRESENT) )
+        if ( !(shadow_l3e_get_flags(sl3e) & _PAGE_PRESENT) )
             return 0;
     }
 #else /* SHADOW_PAGING_LEVELS == 3 */
-- 
1.7.10.4

             reply	other threads:[~2012-11-12 10:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-12 10:00 Matthew Daley [this message]
2012-11-12 10:18 ` [PATCH] x86 shadow: Fix typo in sh_invlpg sl3 page presence check Tim Deegan

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=1352714418-5776-1-git-send-email-mattjd@gmail.com \
    --to=mattjd@gmail.com \
    --cc=xen-devel@lists.xen.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).