[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] grant_table: include mm.h in xen/grant_table.h



commit 660285f954c32f86594b6a1749262123d99a3b94
Author:     Julien Grall <julien.grall@xxxxxxx>
AuthorDate: Mon Aug 14 17:17:44 2017 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Mon Aug 14 17:17:44 2017 +0200

    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 Â?gfn_tÂ?
                                 gfn_t *gfn, uint16_t *status);
                                 ^
    
    Fix it by including xen/mm.h in it.
    
    Signed-off-by: Julien Grall <julien.grall@xxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
    Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 xen/include/xen/grant_table.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xen/include/xen/grant_table.h b/xen/include/xen/grant_table.h
index 4e77899..7913fac 100644
--- a/xen/include/xen/grant_table.h
+++ b/xen/include/xen/grant_table.h
@@ -23,6 +23,7 @@
 #ifndef __XEN_GRANT_TABLE_H__
 #define __XEN_GRANT_TABLE_H__
 
+#include <xen/mm.h>
 #include <xen/rwlock.h>
 #include <public/grant_table.h>
 #include <asm/page.h>
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.