In general, the only definitions that assembly files can use are in _types.S headers (where available), so convert them. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
@@ -25,7 +25,7 @@
#include <linux/linkage.h>
#include <asm/segment.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
#include <asm/boot.h>
#include <asm/asm-offsets.h>
@@ -26,8 +26,8 @@
-#include <asm/pgtable.h>
+#include <asm/pgtable_types.h>
#include <asm/msr.h>
#include <asm/processor-flags.h>
@@ -19,7 +19,7 @@
#include <linux/utsrelease.h>
#include <asm/e820.h>
#include <asm/setup.h>
#include "boot.h"
#include "offsets.h"
@@ -3,8 +3,8 @@
*/
#include <asm/msr-index.h>
.code16
@@ -1,7 +1,7 @@
.section .text.page_aligned
# Copyright 2003, 2008 Pavel Machek <pavel@suse.cz>, distribute under GPLv2
@@ -1,8 +1,8 @@
.text
@@ -6,7 +6,7 @@
/*
* efi_call_phys(void *, ...) is a function with variable parameters.
@@ -47,7 +47,7 @@
#include <asm/errno.h>
#include <asm/smp.h>
#include <asm/desc.h>
#include <asm/percpu.h>
#include <asm/dwarf2.h>
@@ -48,7 +48,7 @@
#include <asm/unistd.h>
#include <asm/thread_info.h>
#include <asm/hw_irq.h>
#include <asm/irqflags.h>
#include <asm/paravirt.h>
#include <asm/ftrace.h>
@@ -11,8 +11,8 @@
#include <linux/init.h>
#include <asm/cache.h>
@@ -7,7 +7,7 @@
#include <asm/kexec.h>
@@ -7,10 +7,10 @@
* Must be relocatable PIC code callable as a C function
@@ -29,7 +29,7 @@
/* We can free up trampoline after bootup if cpu hotplug is not supported. */
#ifndef CONFIG_HOTPLUG_CPU
@@ -25,8 +25,8 @@
@@ -12,7 +12,7 @@
#include <asm-generic/vmlinux.lds.h>
#undef i386 /* in case the preprocessor is a 32bit one */
@@ -28,7 +28,7 @@
@@ -8,7 +8,7 @@
@@ -18,7 +18,7 @@
#include <asm/asm.h>
#include <xen/interface/elfnote.h>
#include <asm/xen/interface.h>