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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: LKML <linux-kernel@...>, <x86@...>, xen-devel <xen-devel@...>, Thomas Gleixner <tglx@...>, Hugh Dickins <hugh@...>, Zachary Amsden <zach@...>, kvm-devel <kvm-devel@...>, Virtualization Mailing List <virtualization@...>, Rusty Russell <rusty@...>, Peter Zijlstra <a.p.zijlstra@...>, Linus Torvalds <torvalds@...>
Date: Monday, June 2, 2008 - 9:02 am

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
 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);
 }
 


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0 of 4] mm+paravirt+xen: add pte read-modify-write ab..., Jeremy Fitzhardinge, (Fri May 30, 8:04 pm)
[PATCH 3 of 4] xen: implement ptep_modify_prot_start/commit, Jeremy Fitzhardinge, (Fri May 30, 8:04 pm)
[PATCH 4 of 4] xen: add mechanism to extend existing multica..., Jeremy Fitzhardinge, (Fri May 30, 8:04 pm)
[PATCH 2 of 4] paravirt: add hooks for ptep_modify_prot_star..., Jeremy Fitzhardinge, (Fri May 30, 8:04 pm)
Re: [PATCH 2 of 4] paravirt: add hooks for ptep_modify_prot_..., Jeremy Fitzhardinge, (Mon Jun 2, 7:57 am)
[PATCH 1 of 4] mm: add a ptep_modify_prot transaction abstra..., Jeremy Fitzhardinge, (Fri May 30, 8:04 pm)
[PATCH] mm: fix comment formatting in asm-generic/pgtable.h:..., Jeremy Fitzhardinge, (Mon Jun 2, 9:02 am)
Re: [PATCH] mm: fix comment formatting in asm-generic/pgtabl..., Jeremy Fitzhardinge, (Mon Jun 2, 7:53 pm)
Re: [PATCH 1 of 4] mm: add a ptep_modify_prot transaction ab..., Jeremy Fitzhardinge, (Mon Jun 2, 7:57 am)