WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] mm: fix comment formatting in asm-generic/pgtable.h:

To: Ingo Molnar <mingo@xxxxxxx>
Subject: [Xen-devel] [PATCH] mm: fix comment formatting in asm-generic/pgtable.h:__ptep_modify_prot_
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Mon, 02 Jun 2008 14:02:34 +0100
Cc: Zachary Amsden <zach@xxxxxxxxxx>, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>, kvm-devel <kvm-devel@xxxxxxxxxxxxxxxxxxxxx>, x86@xxxxxxxxxx, LKML <linux-kernel@xxxxxxxxxxxxxxx>, Virtualization Mailing List <virtualization@xxxxxxxxxxxxxx>, Hugh Dickins <hugh@xxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 02 Jun 2008 06:03:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080602111339.GB18586@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1212192268@localhost> <4deead25e96efc8ca783.1212192269@localhost> <20080602111339.GB18586@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080501)
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
---
include/asm-generic/pgtable.h |   14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)

===================================================================
--- a/include/asm-generic/pgtable.h
+++ b/include/asm-generic/pgtable.h
@@ -201,9 +201,11 @@
                                             unsigned long addr,
                                             pte_t *ptep)
{
-       /* Get the current pte state, but zero it out to make it
-          non-present, preventing the hardware from asynchronously
-          updating it. */
+       /*
+        * Get the current pte state, but zero it out to make it
+        * non-present, preventing the hardware from asynchronously
+        * updating it.
+        */
        return ptep_get_and_clear(mm, addr, ptep);
}

@@ -211,8 +213,10 @@
                                             unsigned long addr,
                                             pte_t *ptep, pte_t pte)
{
-       /* The pte is non-present, so there's no hardware state to
-          preserve. */
+       /*
+        * The pte is non-present, so there's no hardware state to
+        * preserve.
+        */
        set_pte_at(mm, addr, ptep, pte);
}




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel