From: Zachary Amsden Subject: Re: [Xen-devel] Re: [PATCH 12 of 13] Pass the mm struct into the pgd_free code so the mm is available here Date: Tue, 01 Aug 2006 23:25:59 -0700 Message-ID: <44D04577.9000904@vmware.com> References: <8235caea9d688b78ce4b.1154462450@ezr> <200608020514.52316.ak@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200608020514.52316.ak@suse.de> Sender: linux-kernel-owner@vger.kernel.org To: Andi Kleen Cc: virtualization@lists.osdl.org, Andrew Morton , Xen-devel , Jeremy Fitzhardinge , Linux Kernel , Chris Wright , Ian Pratt , "Eric W. Biederman" , Christoph Lameter List-Id: xen-devel@lists.xenproject.org Andi Kleen wrote: > nst char *arch_vma_name(struct vm_area_struct *vma); > >> >> +#ifndef pgd_free_mm >> +#define pgd_free_mm(mm) pgd_free((mm)->pgd) >> +#endif >> > > Sorry, but these ifdefs are too ugly. I would prefer if you > just updated all architectures, even though it will make the patch > somewhat bigger > I'm fine with doing that, and yes this is ugly. Will take awhile though - for efficiency of mercurial patch tools, I deprecated all architectures but i386, x86_64, and um from my local tree. . Zach