From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with ESMTP id B7BD36B009C for ; Tue, 26 Jan 2010 14:10:28 -0500 (EST) Date: Tue, 26 Jan 2010 19:10:14 +0000 From: Mel Gorman Subject: Re: [PATCH 07 of 31] add native_set_pmd_at Message-ID: <20100126191013.GL16468@csn.ul.ie> References: <9eb834451b22eab29fab.1264513922@v2.random> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <9eb834451b22eab29fab.1264513922@v2.random> Sender: owner-linux-mm@kvack.org To: Andrea Arcangeli Cc: linux-mm@kvack.org, Marcelo Tosatti , Adam Litke , Avi Kivity , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Andi Kleen , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Christoph Lameter , Chris Wright , Andrew Morton , bpicco@redhat.com, Christoph Hellwig , KOSAKI Motohiro List-ID: On Tue, Jan 26, 2010 at 02:52:02PM +0100, Andrea Arcangeli wrote: > From: Andrea Arcangeli > > Used by paravirt and not paravirt set_pmd_at. > > Signed-off-by: Andrea Arcangeli Acked-by: Mel Gorman > --- > > diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h > --- a/arch/x86/include/asm/pgtable.h > +++ b/arch/x86/include/asm/pgtable.h > @@ -528,6 +528,12 @@ static inline void native_set_pte_at(str > native_set_pte(ptep, pte); > } > > +static inline void native_set_pmd_at(struct mm_struct *mm, unsigned long addr, > + pmd_t *pmdp , pmd_t pmd) > +{ > + native_set_pmd(pmdp, pmd); > +} > + > #ifndef CONFIG_PARAVIRT > /* > * Rules for using pte_update - it must be called after any PTE update which > -- Mel Gorman Part-time Phd Student Linux Technology Center University of Limerick IBM Dublin Software Lab -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org