Re: [Xen-devel] [PATCH 01/11] xen/grant_table: Include mm.h in xen/grant_table.h

2017-08-14 Thread Wei Liu
On Fri, Aug 11, 2017 at 07:02:47PM +0100, Julien Grall wrote: > While re-ordering the include alphabetically in arch/arm/domain.c, I got > a complitation error because grant_table.h is using gfn_t before been > defined: > > In file included from domain.c:14:0: > xen/xen/include/xen/grant_table.h:1

Re: [Xen-devel] [PATCH 01/11] xen/grant_table: Include mm.h in xen/grant_table.h

2017-08-13 Thread Jan Beulich
>>> Julien Grall 08/11/17 8:03 PM >>> >While re-ordering the include alphabetically in arch/arm/domain.c, I got >a complitation error because grant_table.h is using gfn_t before been >defined: > >In file included from domain.c:14:0: >xen/xen/include/xen/grant_table.h:153:29: error: unknown type na

[Xen-devel] [PATCH 01/11] xen/grant_table: Include mm.h in xen/grant_table.h

2017-08-11 Thread Julien Grall
While re-ordering the include alphabetically in arch/arm/domain.c, I got a complitation error because grant_table.h is using gfn_t before been defined: In file included from domain.c:14:0: xen/xen/include/xen/grant_table.h:153:29: error: unknown type name ‘gfn_t’ gfn_t