xen: arm: fix build of hvm.c
authorIan Campbell <ian.campbell@citrix.com>
Tue, 5 Feb 2013 11:46:12 +0000 (11:46 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 5 Feb 2013 11:46:12 +0000 (11:46 +0000)
Add include of xsm/xsm.h to fix:

hvm.c: In function 'do_hvm_op': hvm.c:37:9: error: implicit declaration of function 'xsm_hvm_param' [-Werror=implicit-function-declaration]
hvm.c:37:9: error: nested extern declaration of 'xsm_hvm_param' [-Werror=nested-externs]
hvm.c:37:28: error: 'XSM_TARGET' undeclared (first use in this function)
hvm.c:37:28: note: each undeclared identifier is reported only once for each function it appears in
cc1: all warnings being treated as errors

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/hvm.c

index 63ac79325024b4099ed7c27af348884920dab594..471c4cd9ddf9c3bff5bb4b4bde3353ac3dd0795e 100644 (file)
@@ -5,6 +5,8 @@
 #include <xen/guest_access.h>
 #include <xen/sched.h>
 
+#include <xsm/xsm.h>
+
 #include <public/xen.h>
 #include <public/hvm/params.h>
 #include <public/hvm/hvm_op.h>