grant_table: include mm.h in xen/grant_table.h
authorJulien Grall <julien.grall@arm.com>
Mon, 14 Aug 2017 15:17:44 +0000 (17:17 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 14 Aug 2017 15:17:44 +0000 (17:17 +0200)
commit660285f954c32f86594b6a1749262123d99a3b94
tree7a1f8c11710d52dbc9d07111c1120bc71fe85d28
parent14c6cf41c79b8253690b40ee789110fe69fe39d3
grant_table: include mm.h in xen/grant_table.h

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 \91gfn_t\92
                             gfn_t *gfn, uint16_t *status);
                             ^

Fix it by including xen/mm.h in it.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
xen/include/xen/grant_table.h