From: Andrew Morton Date: Tue, 29 Dec 2015 22:54:13 +0000 (-0800) Subject: arch/x86/xen/suspend.c: include xen/xen.h X-Git-Tag: v4.1.12-92~172^2~5^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fbb1141480d4c2f6e8210eb14d9b63cae693206d;p=users%2Fjedix%2Flinux-maple.git 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 Cc: Sasha Levin Cc: Konrad Rzeszutek Wilk Cc: Boris Ostrovsky Cc: David Vrabel Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds (cherry picked from commit facca61683f937f31f90307cc64851436c8a3e21) Signed-off-by: Joao Martins --- diff --git a/arch/x86/xen/suspend.c b/arch/x86/xen/suspend.c index 7ed65d0db4d4..535016d54f0c 100644 --- a/arch/x86/xen/suspend.c +++ b/arch/x86/xen/suspend.c @@ -1,6 +1,7 @@ #include #include +#include #include #include #include