]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
xen/efi: Directly include needed headers
authorDaniel Kiper <daniel.kiper@oracle.com>
Mon, 8 Sep 2014 13:22:18 +0000 (15:22 +0200)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Tue, 23 Sep 2014 13:36:20 +0000 (13:36 +0000)
I discovered that some needed stuff is defined/declared in headers
which are not included directly. Currently it works but if somebody
remove required headers from currently included headers then build
will break. So, just in case directly include all needed headers.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/efi.c
drivers/xen/efi.c

index a02e09e18f57b160c8c5f036ac64d5e97a72a4c1..be14cc3e48d5fd8e0b5440396478a5c6a8932025 100644 (file)
  * with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <linux/bitops.h>
 #include <linux/efi.h>
 #include <linux/init.h>
 #include <linux/string.h>
 
 #include <xen/xen-ops.h>
 
+#include <asm/page.h>
 #include <asm/setup.h>
 
 void __init xen_efi_init(void)
index 31f618a49661cac0a02e5d384c784c05dbb1bf31..1f850c97482f23e8b51a67e2d36a37f39fd21546 100644 (file)
@@ -27,6 +27,8 @@
 #include <xen/interface/platform.h>
 #include <xen/xen.h>
 
+#include <asm/page.h>
+
 #include <asm/xen/hypercall.h>
 
 #define INIT_EFI_OP(name) \