Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756802Ab1E3OKh (ORCPT ); Mon, 30 May 2011 10:10:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16942 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754667Ab1E3OKg (ORCPT ); Mon, 30 May 2011 10:10:36 -0400 Date: Mon, 30 May 2011 16:10:28 +0200 From: Andrea Arcangeli To: Nicolas Kaiser Cc: Arnd Bergmann , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] thp: unbalanced parenthesis Message-ID: <20110530141028.GG19505@random.random> References: <20110507205549.6bb0f49f@absol.kitzblitz> <20110530130209.7ea4d55d@absol.kitzblitz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110530130209.7ea4d55d@absol.kitzblitz> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1228 Lines: 37 On Mon, May 30, 2011 at 01:02:09PM +0200, Nicolas Kaiser wrote: > Cc'ed Andrea Arcangeli. > > * Nicolas Kaiser : > > Signed-off-by: Nicolas Kaiser > > --- > > 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 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/