Re: [PATCH] thp: unbalanced parenthesis

From: Andrea Arcangeli
Date: Mon May 30 2011 - 10:10:40 EST


On Mon, May 30, 2011 at 01:02:09PM +0200, Nicolas Kaiser wrote:
> Cc'ed Andrea Arcangeli.
>
> * Nicolas Kaiser <nikai@xxxxxxxxx>:
> > Signed-off-by: Nicolas Kaiser <nikai@xxxxxxxxx>
> > ---
> > 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 <aarcange@xxxxxxxxxx>

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/