summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kiper <daniel.kiper@oracle.com>2014-09-08 17:22:18 +0400
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2014-09-23 17:36:20 +0400
commit342cd340f6e73a974053dd09ed1bf8a9c1ed4458 (patch)
tree1806d6a5c05dcd9505e5ad5e435652975cd5604e
parent495daef902425e241a0b95791f3aeb737928256a (diff)
downloadlinux-342cd340f6e73a974053dd09ed1bf8a9c1ed4458.tar.xz
xen/efi: Directly include needed headers
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>
-rw-r--r--arch/x86/xen/efi.c2
-rw-r--r--drivers/xen/efi.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/xen/efi.c b/arch/x86/xen/efi.c
index a02e09e18f57..be14cc3e48d5 100644
--- a/arch/x86/xen/efi.c
+++ b/arch/x86/xen/efi.c
@@ -15,12 +15,14 @@
* 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)
diff --git a/drivers/xen/efi.c b/drivers/xen/efi.c
index 31f618a49661..1f850c97482f 100644
--- a/drivers/xen/efi.c
+++ b/drivers/xen/efi.c
@@ -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) \