lkml.org 
[lkml]   [2011]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] thp: unbalanced parenthesis
On Mon, May 30, 2011 at 01:02:09PM +0200, Nicolas Kaiser wrote:
> Cc'ed Andrea Arcangeli.
>
> * Nicolas Kaiser <nikai@nikai.net>:
> > Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
> > ---
> > 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@redhat.com>

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


\
 
 \ /
  Last update: 2011-05-30 16:13    [W:0.075 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site