[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 10/16] xen/mm: Switch map_pages_to_xen to use MFN typesafe
>>> On 02.03.18 at 16:06, <JBeulich@xxxxxxxx> wrote: >>>> On 21.02.18 at 15:02, <julien.grall@xxxxxxx> wrote: >> --- a/xen/arch/x86/x86_64/mm.c >> +++ b/xen/arch/x86/x86_64/mm.c >> @@ -40,6 +40,10 @@ asm(".file \"" __FILE__ "\""); >> #include <asm/mem_sharing.h> >> #include <public/memory.h> >> >> +/* Override macros from asm/page.h to make them work with mfn_t */ >> +#undef page_to_mfn >> +#define page_to_mfn(pg) _mfn(__page_to_mfn(pg)) > > I can't spot where this is needed in this file. Oh, I'm sorry, I should have looked at the file as well, not just at the hunks in the patch. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |