arch/x86/xen/suspend.c: include xen/xen.h
authorAndrew Morton <[email protected]>
Tue, 29 Dec 2015 22:54:13 +0000 (14:54 -0800)
committerLinus Torvalds <[email protected]>
Wed, 30 Dec 2015 01:45:49 +0000 (17:45 -0800)
Fix the build warning:

  arch/x86/xen/suspend.c: In function 'xen_arch_pre_suspend':
  arch/x86/xen/suspend.c:70:9: error: implicit declaration of function 'xen_pv_domain' [-Werror=implicit-function-declaration]
          if (xen_pv_domain())
              ^

Reported-by: kbuild test robot <[email protected]>
Cc: Sasha Levin <[email protected]>
Cc: Konrad Rzeszutek Wilk <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
Cc: David Vrabel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/x86/xen/suspend.c

index 3705eabd7e22ee68d22c1b66d4cb1661bb108f41..df0c4055958379753aac957dd2c9e4c68fbaf765 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/types.h>
 #include <linux/tick.h>
 
+#include <xen/xen.h>
 #include <xen/interface/xen.h>
 #include <xen/grant_table.h>
 #include <xen/events.h>