From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH 6 of 7] x86/mm: Clean up mem event structures on domain destruction Date: Thu, 23 Feb 2012 15:32:31 +0100 Message-ID: <20120223143231.GB25289@aepfle.de> References: <1a76b2f7641bec1dba82.1329977111@xdev.gridcentric.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1a76b2f7641bec1dba82.1329977111@xdev.gridcentric.ca> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andres Lagar-Cavilla Cc: xen-devel@lists.xensource.com, ian.campbell@citrix.com, andres@gridcentric.ca, tim@xen.org, keir.xen@gmail.com, ian.jackson@citrix.com, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org On Thu, Feb 23, Andres Lagar-Cavilla wrote: > +++ b/xen/include/asm-arm/mm.h > @@ -266,7 +266,8 @@ int get_page(struct page_info *page, st > machine_to_phys_mapping[(mfn)] = (pfn); \ > }) > > -#define put_gfn(d, g) ((void)0) > +#define put_gfn(d, g) ((void)0) > +#define mem_event_cleanup(d) ((void)0) > > #define INVALID_MFN (~0UL) > > diff -r 9c6cbbe72dc4 -r 1a76b2f7641b xen/include/asm-ia64/mm.h > --- a/xen/include/asm-ia64/mm.h > +++ b/xen/include/asm-ia64/mm.h > @@ -551,7 +551,8 @@ extern u64 translate_domain_pte(u64 ptev > gmfn_to_mfn_foreign((_d), (gpfn)) > > #define get_gfn_untyped(d, gpfn) gmfn_to_mfn(d, gpfn) > -#define put_gfn(d, g) ((void)0) > +#define put_gfn(d, g) ((void)0) > +#define mem_event_cleanup(d) ((void)0) This is C, not cpp, so these should have been like this in the first place: static inline int foo( .... ) { return 0; } Olaf