]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
arch/x86/xen/suspend.c: include xen/xen.h
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 29 Dec 2015 22:54:13 +0000 (14:54 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Dec 2015 01:45:49 +0000 (17:45 -0800)
commitfacca61683f937f31f90307cc64851436c8a3e21
tree88bc1786458d2b6041ad97bff5bd0c9c2257bf42
parent6df38689e0e9a07ff4f42c06b302e203b33667e9
arch/x86/xen/suspend.c: include xen/xen.h

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 <fengguang.wu@intel.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/xen/suspend.c