x86: use _types.h headers in asm where available
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 13 Feb 2009 19:14:01 +0000 (11:14 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Fri, 13 Feb 2009 19:35:01 +0000 (11:35 -0800)
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>
20 files changed:
arch/x86/boot/compressed/head_32.S
arch/x86/boot/compressed/head_64.S
arch/x86/boot/header.S
arch/x86/kernel/acpi/realmode/wakeup.S
arch/x86/kernel/acpi/wakeup_32.S
arch/x86/kernel/acpi/wakeup_64.S
arch/x86/kernel/efi_stub_32.S
arch/x86/kernel/entry_32.S
arch/x86/kernel/entry_64.S
arch/x86/kernel/head_32.S
arch/x86/kernel/relocate_kernel_32.S
arch/x86/kernel/relocate_kernel_64.S
arch/x86/kernel/trampoline_32.S
arch/x86/kernel/trampoline_64.S
arch/x86/kernel/vmlinux_32.lds.S
arch/x86/kernel/vmlinux_64.lds.S
arch/x86/lib/getuser.S
arch/x86/power/hibernate_asm_32.S
arch/x86/power/hibernate_asm_64.S
arch/x86/xen/xen-head.S

index 29c5fbf08392359ec77f4149b7b45c24cd8d071b..112f81abfa6c7c8f69672a686990e0508fa04c96 100644 (file)
@@ -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>
 
index 1d5dff4123e15a3cebf9c59f6edaa9575c58dc70..36743525e37399adce539778b7c43670fba0390a 100644 (file)
@@ -26,8 +26,8 @@
 
 #include <linux/linkage.h>
 #include <asm/segment.h>
-#include <asm/pgtable.h>
-#include <asm/page.h>
+#include <asm/pgtable_types.h>
+#include <asm/page_types.h>
 #include <asm/boot.h>
 #include <asm/msr.h>
 #include <asm/processor-flags.h>
index b993062e9a5f7fae2d2492abd78cfb9933a0f01a..7ccff4884a23e03c1a2ef59bf15de9b146401369 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/utsrelease.h>
 #include <asm/boot.h>
 #include <asm/e820.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 #include <asm/setup.h>
 #include "boot.h"
 #include "offsets.h"
index 3355973b12ac6f8ca11ea0f5486a6643373d8042..580b4e29601005abf25adc6dfc011ce6fb6ef1bd 100644 (file)
@@ -3,8 +3,8 @@
  */
 #include <asm/segment.h>
 #include <asm/msr-index.h>
-#include <asm/page.h>
-#include <asm/pgtable.h>
+#include <asm/page_types.h>
+#include <asm/pgtable_types.h>
 #include <asm/processor-flags.h>
 
        .code16
index a12e6a9fb65963f12ad7697b0f830a85cb69ff64..8ded418b05939f1fc2f9ef6512fd21281bd2b10a 100644 (file)
@@ -1,7 +1,7 @@
        .section .text.page_aligned
 #include <linux/linkage.h>
 #include <asm/segment.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 
 # Copyright 2003, 2008 Pavel Machek <pavel@suse.cz>, distribute under GPLv2
 
index bcc293423a7026cb28e8c659b693d464a8cfe28e..82add8b804b72798f2f8dfe75f0722e4001a31dd 100644 (file)
@@ -1,8 +1,8 @@
 .text
 #include <linux/linkage.h>
 #include <asm/segment.h>
-#include <asm/pgtable.h>
-#include <asm/page.h>
+#include <asm/pgtable_types.h>
+#include <asm/page_types.h>
 #include <asm/msr.h>
 #include <asm/asm-offsets.h>
 
index ef00bb77d7e480d058ce21e2b66a20be730c7896..8b9171b9cbd2197ea25cbfda8a5e7425969e422b 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #include <linux/linkage.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 
 /*
  * efi_call_phys(void *, ...) is a function with variable parameters.
index e992068314595a614cc0c0984011578f2be49278..999e827ef9c7896876134566e149f2153992c2f8 100644 (file)
@@ -47,7 +47,7 @@
 #include <asm/errno.h>
 #include <asm/segment.h>
 #include <asm/smp.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 #include <asm/desc.h>
 #include <asm/percpu.h>
 #include <asm/dwarf2.h>
index fbcf96b295ff7ff5718f618d1f4ae5c6697ef2aa..dcf31283f949f276a5a00acab45204087acfac11 100644 (file)
@@ -48,7 +48,7 @@
 #include <asm/unistd.h>
 #include <asm/thread_info.h>
 #include <asm/hw_irq.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 #include <asm/irqflags.h>
 #include <asm/paravirt.h>
 #include <asm/ftrace.h>
index 2a0aad7718d5340a449da6759f6861a239d56b41..c32ca19d591a5de88057d2d9534168332fa7bf77 100644 (file)
@@ -11,8 +11,8 @@
 #include <linux/init.h>
 #include <linux/linkage.h>
 #include <asm/segment.h>
-#include <asm/page.h>
-#include <asm/pgtable.h>
+#include <asm/page_types.h>
+#include <asm/pgtable_types.h>
 #include <asm/desc.h>
 #include <asm/cache.h>
 #include <asm/thread_info.h>
index a160f31197256680c32b835b7c32d62e9dbd184b..2064d0aa8d28842f235600428c3c2958f8313723 100644 (file)
@@ -7,7 +7,7 @@
  */
 
 #include <linux/linkage.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 #include <asm/kexec.h>
 #include <asm/processor-flags.h>
 
index b0bbdd4829c9669463e11cdbd13bb841c8c0ac16..d32cfb27a479ecbf32be5dca3c87e5a220e59261 100644 (file)
@@ -7,10 +7,10 @@
  */
 
 #include <linux/linkage.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 #include <asm/kexec.h>
 #include <asm/processor-flags.h>
-#include <asm/pgtable.h>
+#include <asm/pgtable_types.h>
 
 /*
  * Must be relocatable PIC code callable as a C function
index d8ccc3c6552f60f85bd50de1d4e6c68548261ae7..66d874e5404cec797dbdab2fae1a84558ecbc50a 100644 (file)
@@ -29,7 +29,7 @@
 
 #include <linux/linkage.h>
 #include <asm/segment.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 
 /* We can free up trampoline after bootup if cpu hotplug is not supported. */
 #ifndef CONFIG_HOTPLUG_CPU
index 95a012a4664e9008299db5778b0dffc6ae56bea6..cddfb8d386b927bce74e8b82e78a23aeaa83c04a 100644 (file)
@@ -25,8 +25,8 @@
  */
 
 #include <linux/linkage.h>
-#include <asm/pgtable.h>
-#include <asm/page.h>
+#include <asm/pgtable_types.h>
+#include <asm/page_types.h>
 #include <asm/msr.h>
 #include <asm/segment.h>
 #include <asm/processor-flags.h>
index 3eba7f7bac05b57f5bdaf8757ec9a9215978620c..0d860963f268f5a79c1198a6dffba0fee22f897d 100644 (file)
@@ -12,7 +12,7 @@
 
 #include <asm-generic/vmlinux.lds.h>
 #include <asm/thread_info.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 #include <asm/cache.h>
 #include <asm/boot.h>
 
index 087a7f2c639bb6254c5b4899e41830ead88dec05..fbfced6f6800c11052a7f640fd4edd1d32a2b3a5 100644 (file)
@@ -6,7 +6,7 @@
 
 #include <asm-generic/vmlinux.lds.h>
 #include <asm/asm-offsets.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 
 #undef i386    /* in case the preprocessor is a 32bit one */
 
index ad374003742f98534db184ebc1f019ff845141a4..51f1504cddd9f20fa50e010c66ec0d83da2c2215 100644 (file)
@@ -28,7 +28,7 @@
 
 #include <linux/linkage.h>
 #include <asm/dwarf2.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 #include <asm/errno.h>
 #include <asm/asm-offsets.h>
 #include <asm/thread_info.h>
index d1e9b53f9d3315dce9f618c08acce0e3ded959de..b641388d8286acfcf73bc6f7ca850609270739b3 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <linux/linkage.h>
 #include <asm/segment.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 #include <asm/asm-offsets.h>
 #include <asm/processor-flags.h>
 
index 000415947d93590e3f3230371c1d81fa35d2b600..9356547d8c012458971b527897946d2c6d4aafae 100644 (file)
@@ -18,7 +18,7 @@
        .text
 #include <linux/linkage.h>
 #include <asm/segment.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 #include <asm/asm-offsets.h>
 #include <asm/processor-flags.h>
 
index 63d49a523ed307f9407e805ca507bf293ad0dfca..1a5ff24e29c0a645156abad8111cb99e8de2e68f 100644 (file)
@@ -8,7 +8,7 @@
 
 #include <asm/boot.h>
 #include <asm/asm.h>
-#include <asm/page.h>
+#include <asm/page_types.h>
 
 #include <xen/interface/elfnote.h>
 #include <asm/xen/interface.h>