Thread (3 messages) 3 messages, 2 authors, 2011-05-30

Re: [PATCH] thp: unbalanced parenthesis

From: Andrea Arcangeli <hidden>
Date: 2011-05-30 14:10:37
Also in: lkml

On Mon, May 30, 2011 at 01:02:09PM +0200, Nicolas Kaiser wrote:
Cc'ed Andrea Arcangeli.

* Nicolas Kaiser [off-list ref]:
quoted
Signed-off-by: Nicolas Kaiser <redacted>
---
Untested.

 include/asm-generic/pgtable.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h
index b4bfe33..b80daee 100644
--- a/include/asm-generic/pgtable.h
+++ b/include/asm-generic/pgtable.h
@@ -88,7 +88,7 @@ static inline pmd_t pmdp_get_and_clear(struct mm_struct *mm,
 	pmd_t pmd = *pmdp;
 	pmd_clear(mm, address, pmdp);
 	return pmd;
-})
+}
 #endif /* CONFIG_TRANSPARENT_HUGEPAGE */
 #endif
Reviewed-by: Andrea Arcangeli <redacted>

All archs supporting THP aren't using that function so it isn't
possible to notice it in any config but it's better to fix it in case
some arch will use it in the future.

Thanks,
Andrea
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help