diff options
Diffstat (limited to 'arch/x86/include')
267 files changed, 799 insertions, 799 deletions
diff --git a/arch/x86/include/asm/a.out-core.h b/arch/x86/include/asm/a.out-core.h index f5705761a37b..37822206083e 100644 --- a/arch/x86/include/asm/a.out-core.h +++ b/arch/x86/include/asm/a.out-core.h | |||
@@ -9,8 +9,8 @@ | |||
9 | * 2 of the Licence, or (at your option) any later version. | 9 | * 2 of the Licence, or (at your option) any later version. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #ifndef ASM_X86__A_OUT_CORE_H | 12 | #ifndef _ASM_X86_A_OUT_CORE_H |
13 | #define ASM_X86__A_OUT_CORE_H | 13 | #define _ASM_X86_A_OUT_CORE_H |
14 | 14 | ||
15 | #ifdef __KERNEL__ | 15 | #ifdef __KERNEL__ |
16 | #ifdef CONFIG_X86_32 | 16 | #ifdef CONFIG_X86_32 |
@@ -70,4 +70,4 @@ static inline void aout_dump_thread(struct pt_regs *regs, struct user *dump) | |||
70 | 70 | ||
71 | #endif /* CONFIG_X86_32 */ | 71 | #endif /* CONFIG_X86_32 */ |
72 | #endif /* __KERNEL__ */ | 72 | #endif /* __KERNEL__ */ |
73 | #endif /* ASM_X86__A_OUT_CORE_H */ | 73 | #endif /* _ASM_X86_A_OUT_CORE_H */ |
diff --git a/arch/x86/include/asm/a.out.h b/arch/x86/include/asm/a.out.h index 0948748bc69c..4684f97a5bbd 100644 --- a/arch/x86/include/asm/a.out.h +++ b/arch/x86/include/asm/a.out.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__A_OUT_H | 1 | #ifndef _ASM_X86_A_OUT_H |
2 | #define ASM_X86__A_OUT_H | 2 | #define _ASM_X86_A_OUT_H |
3 | 3 | ||
4 | struct exec | 4 | struct exec |
5 | { | 5 | { |
@@ -17,4 +17,4 @@ struct exec | |||
17 | #define N_DRSIZE(a) ((a).a_drsize) | 17 | #define N_DRSIZE(a) ((a).a_drsize) |
18 | #define N_SYMSIZE(a) ((a).a_syms) | 18 | #define N_SYMSIZE(a) ((a).a_syms) |
19 | 19 | ||
20 | #endif /* ASM_X86__A_OUT_H */ | 20 | #endif /* _ASM_X86_A_OUT_H */ |
diff --git a/arch/x86/include/asm/acpi.h b/arch/x86/include/asm/acpi.h index 392e17336be1..8d676d8ecde9 100644 --- a/arch/x86/include/asm/acpi.h +++ b/arch/x86/include/asm/acpi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__ACPI_H | 1 | #ifndef _ASM_X86_ACPI_H |
2 | #define ASM_X86__ACPI_H | 2 | #define _ASM_X86_ACPI_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Copyright (C) 2001 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> | 5 | * Copyright (C) 2001 Paul Diefenbaugh <paul.s.diefenbaugh@intel.com> |
@@ -175,4 +175,4 @@ static inline void acpi_fake_nodes(const struct bootnode *fake_nodes, | |||
175 | 175 | ||
176 | #define acpi_unlazy_tlb(x) leave_mm(x) | 176 | #define acpi_unlazy_tlb(x) leave_mm(x) |
177 | 177 | ||
178 | #endif /* ASM_X86__ACPI_H */ | 178 | #endif /* _ASM_X86_ACPI_H */ |
diff --git a/arch/x86/include/asm/agp.h b/arch/x86/include/asm/agp.h index 3617fd4fcdf9..9825cd64c9b6 100644 --- a/arch/x86/include/asm/agp.h +++ b/arch/x86/include/asm/agp.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__AGP_H | 1 | #ifndef _ASM_X86_AGP_H |
2 | #define ASM_X86__AGP_H | 2 | #define _ASM_X86_AGP_H |
3 | 3 | ||
4 | #include <asm/pgtable.h> | 4 | #include <asm/pgtable.h> |
5 | #include <asm/cacheflush.h> | 5 | #include <asm/cacheflush.h> |
@@ -32,4 +32,4 @@ | |||
32 | #define free_gatt_pages(table, order) \ | 32 | #define free_gatt_pages(table, order) \ |
33 | free_pages((unsigned long)(table), (order)) | 33 | free_pages((unsigned long)(table), (order)) |
34 | 34 | ||
35 | #endif /* ASM_X86__AGP_H */ | 35 | #endif /* _ASM_X86_AGP_H */ |
diff --git a/arch/x86/include/asm/alternative.h b/arch/x86/include/asm/alternative.h index 22d3c9862bf3..f6aa18eadf71 100644 --- a/arch/x86/include/asm/alternative.h +++ b/arch/x86/include/asm/alternative.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__ALTERNATIVE_H | 1 | #ifndef _ASM_X86_ALTERNATIVE_H |
2 | #define ASM_X86__ALTERNATIVE_H | 2 | #define _ASM_X86_ALTERNATIVE_H |
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | #include <linux/stddef.h> | 5 | #include <linux/stddef.h> |
@@ -180,4 +180,4 @@ extern void add_nops(void *insns, unsigned int len); | |||
180 | extern void *text_poke(void *addr, const void *opcode, size_t len); | 180 | extern void *text_poke(void *addr, const void *opcode, size_t len); |
181 | extern void *text_poke_early(void *addr, const void *opcode, size_t len); | 181 | extern void *text_poke_early(void *addr, const void *opcode, size_t len); |
182 | 182 | ||
183 | #endif /* ASM_X86__ALTERNATIVE_H */ | 183 | #endif /* _ASM_X86_ALTERNATIVE_H */ |
diff --git a/arch/x86/include/asm/amd_iommu.h b/arch/x86/include/asm/amd_iommu.h index 041d0db7da27..f712344329bc 100644 --- a/arch/x86/include/asm/amd_iommu.h +++ b/arch/x86/include/asm/amd_iommu.h | |||
@@ -17,8 +17,8 @@ | |||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #ifndef ASM_X86__AMD_IOMMU_H | 20 | #ifndef _ASM_X86_AMD_IOMMU_H |
21 | #define ASM_X86__AMD_IOMMU_H | 21 | #define _ASM_X86_AMD_IOMMU_H |
22 | 22 | ||
23 | #include <linux/irqreturn.h> | 23 | #include <linux/irqreturn.h> |
24 | 24 | ||
@@ -32,4 +32,4 @@ static inline int amd_iommu_init(void) { return -ENODEV; } | |||
32 | static inline void amd_iommu_detect(void) { } | 32 | static inline void amd_iommu_detect(void) { } |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | #endif /* ASM_X86__AMD_IOMMU_H */ | 35 | #endif /* _ASM_X86_AMD_IOMMU_H */ |
diff --git a/arch/x86/include/asm/amd_iommu_types.h b/arch/x86/include/asm/amd_iommu_types.h index b3085869a17b..1a30c0440c6b 100644 --- a/arch/x86/include/asm/amd_iommu_types.h +++ b/arch/x86/include/asm/amd_iommu_types.h | |||
@@ -17,8 +17,8 @@ | |||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #ifndef ASM_X86__AMD_IOMMU_TYPES_H | 20 | #ifndef _ASM_X86_AMD_IOMMU_TYPES_H |
21 | #define ASM_X86__AMD_IOMMU_TYPES_H | 21 | #define _ASM_X86_AMD_IOMMU_TYPES_H |
22 | 22 | ||
23 | #include <linux/types.h> | 23 | #include <linux/types.h> |
24 | #include <linux/list.h> | 24 | #include <linux/list.h> |
@@ -401,4 +401,4 @@ static inline u16 calc_devid(u8 bus, u8 devfn) | |||
401 | return (((u16)bus) << 8) | devfn; | 401 | return (((u16)bus) << 8) | devfn; |
402 | } | 402 | } |
403 | 403 | ||
404 | #endif /* ASM_X86__AMD_IOMMU_TYPES_H */ | 404 | #endif /* _ASM_X86_AMD_IOMMU_TYPES_H */ |
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h index ef1d72dbdfe0..3b1510b4fc57 100644 --- a/arch/x86/include/asm/apic.h +++ b/arch/x86/include/asm/apic.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__APIC_H | 1 | #ifndef _ASM_X86_APIC_H |
2 | #define ASM_X86__APIC_H | 2 | #define _ASM_X86_APIC_H |
3 | 3 | ||
4 | #include <linux/pm.h> | 4 | #include <linux/pm.h> |
5 | #include <linux/delay.h> | 5 | #include <linux/delay.h> |
@@ -196,4 +196,4 @@ static inline void init_apic_mappings(void) { } | |||
196 | 196 | ||
197 | #endif /* !CONFIG_X86_LOCAL_APIC */ | 197 | #endif /* !CONFIG_X86_LOCAL_APIC */ |
198 | 198 | ||
199 | #endif /* ASM_X86__APIC_H */ | 199 | #endif /* _ASM_X86_APIC_H */ |
diff --git a/arch/x86/include/asm/apicdef.h b/arch/x86/include/asm/apicdef.h index b922c85ac91d..63134e31e8b9 100644 --- a/arch/x86/include/asm/apicdef.h +++ b/arch/x86/include/asm/apicdef.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__APICDEF_H | 1 | #ifndef _ASM_X86_APICDEF_H |
2 | #define ASM_X86__APICDEF_H | 2 | #define _ASM_X86_APICDEF_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Constants for various Intel APICs. (local APIC, IOAPIC, etc.) | 5 | * Constants for various Intel APICs. (local APIC, IOAPIC, etc.) |
@@ -414,4 +414,4 @@ struct local_apic { | |||
414 | #else | 414 | #else |
415 | #define BAD_APICID 0xFFFFu | 415 | #define BAD_APICID 0xFFFFu |
416 | #endif | 416 | #endif |
417 | #endif /* ASM_X86__APICDEF_H */ | 417 | #endif /* _ASM_X86_APICDEF_H */ |
diff --git a/arch/x86/include/asm/arch_hooks.h b/arch/x86/include/asm/arch_hooks.h index de4596b24c23..cbd4957838a6 100644 --- a/arch/x86/include/asm/arch_hooks.h +++ b/arch/x86/include/asm/arch_hooks.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__ARCH_HOOKS_H | 1 | #ifndef _ASM_X86_ARCH_HOOKS_H |
2 | #define ASM_X86__ARCH_HOOKS_H | 2 | #define _ASM_X86_ARCH_HOOKS_H |
3 | 3 | ||
4 | #include <linux/interrupt.h> | 4 | #include <linux/interrupt.h> |
5 | 5 | ||
@@ -23,4 +23,4 @@ extern void pre_time_init_hook(void); | |||
23 | extern void time_init_hook(void); | 23 | extern void time_init_hook(void); |
24 | extern void mca_nmi_hook(void); | 24 | extern void mca_nmi_hook(void); |
25 | 25 | ||
26 | #endif /* ASM_X86__ARCH_HOOKS_H */ | 26 | #endif /* _ASM_X86_ARCH_HOOKS_H */ |
diff --git a/arch/x86/include/asm/asm.h b/arch/x86/include/asm/asm.h index e1355f44d7c3..56be78f582f0 100644 --- a/arch/x86/include/asm/asm.h +++ b/arch/x86/include/asm/asm.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__ASM_H | 1 | #ifndef _ASM_X86_ASM_H |
2 | #define ASM_X86__ASM_H | 2 | #define _ASM_X86_ASM_H |
3 | 3 | ||
4 | #ifdef __ASSEMBLY__ | 4 | #ifdef __ASSEMBLY__ |
5 | # define __ASM_FORM(x) x | 5 | # define __ASM_FORM(x) x |
@@ -44,4 +44,4 @@ | |||
44 | _ASM_PTR #from "," #to "\n" \ | 44 | _ASM_PTR #from "," #to "\n" \ |
45 | " .previous\n" | 45 | " .previous\n" |
46 | 46 | ||
47 | #endif /* ASM_X86__ASM_H */ | 47 | #endif /* _ASM_X86_ASM_H */ |
diff --git a/arch/x86/include/asm/atomic_32.h b/arch/x86/include/asm/atomic_32.h index 14d3f0beb889..ad5b9f6ecddf 100644 --- a/arch/x86/include/asm/atomic_32.h +++ b/arch/x86/include/asm/atomic_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__ATOMIC_32_H | 1 | #ifndef _ASM_X86_ATOMIC_32_H |
2 | #define ASM_X86__ATOMIC_32_H | 2 | #define _ASM_X86_ATOMIC_32_H |
3 | 3 | ||
4 | #include <linux/compiler.h> | 4 | #include <linux/compiler.h> |
5 | #include <asm/processor.h> | 5 | #include <asm/processor.h> |
@@ -256,4 +256,4 @@ static inline int atomic_add_unless(atomic_t *v, int a, int u) | |||
256 | #define smp_mb__after_atomic_inc() barrier() | 256 | #define smp_mb__after_atomic_inc() barrier() |
257 | 257 | ||
258 | #include <asm-generic/atomic.h> | 258 | #include <asm-generic/atomic.h> |
259 | #endif /* ASM_X86__ATOMIC_32_H */ | 259 | #endif /* _ASM_X86_ATOMIC_32_H */ |
diff --git a/arch/x86/include/asm/atomic_64.h b/arch/x86/include/asm/atomic_64.h index 2cb218c4a356..279d2a731f3f 100644 --- a/arch/x86/include/asm/atomic_64.h +++ b/arch/x86/include/asm/atomic_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__ATOMIC_64_H | 1 | #ifndef _ASM_X86_ATOMIC_64_H |
2 | #define ASM_X86__ATOMIC_64_H | 2 | #define _ASM_X86_ATOMIC_64_H |
3 | 3 | ||
4 | #include <asm/alternative.h> | 4 | #include <asm/alternative.h> |
5 | #include <asm/cmpxchg.h> | 5 | #include <asm/cmpxchg.h> |
@@ -470,4 +470,4 @@ static inline void atomic_or_long(unsigned long *v1, unsigned long v2) | |||
470 | #define smp_mb__after_atomic_inc() barrier() | 470 | #define smp_mb__after_atomic_inc() barrier() |
471 | 471 | ||
472 | #include <asm-generic/atomic.h> | 472 | #include <asm-generic/atomic.h> |
473 | #endif /* ASM_X86__ATOMIC_64_H */ | 473 | #endif /* _ASM_X86_ATOMIC_64_H */ |
diff --git a/arch/x86/include/asm/auxvec.h b/arch/x86/include/asm/auxvec.h index 12c7cac74202..1316b4c35425 100644 --- a/arch/x86/include/asm/auxvec.h +++ b/arch/x86/include/asm/auxvec.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__AUXVEC_H | 1 | #ifndef _ASM_X86_AUXVEC_H |
2 | #define ASM_X86__AUXVEC_H | 2 | #define _ASM_X86_AUXVEC_H |
3 | /* | 3 | /* |
4 | * Architecture-neutral AT_ values in 0-17, leave some room | 4 | * Architecture-neutral AT_ values in 0-17, leave some room |
5 | * for more of them, start the x86-specific ones at 32. | 5 | * for more of them, start the x86-specific ones at 32. |
@@ -9,4 +9,4 @@ | |||
9 | #endif | 9 | #endif |
10 | #define AT_SYSINFO_EHDR 33 | 10 | #define AT_SYSINFO_EHDR 33 |
11 | 11 | ||
12 | #endif /* ASM_X86__AUXVEC_H */ | 12 | #endif /* _ASM_X86_AUXVEC_H */ |
diff --git a/arch/x86/include/asm/bios_ebda.h b/arch/x86/include/asm/bios_ebda.h index 79b4b88505d7..3c7521063d3f 100644 --- a/arch/x86/include/asm/bios_ebda.h +++ b/arch/x86/include/asm/bios_ebda.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__BIOS_EBDA_H | 1 | #ifndef _ASM_X86_BIOS_EBDA_H |
2 | #define ASM_X86__BIOS_EBDA_H | 2 | #define _ASM_X86_BIOS_EBDA_H |
3 | 3 | ||
4 | #include <asm/io.h> | 4 | #include <asm/io.h> |
5 | 5 | ||
@@ -33,4 +33,4 @@ static inline void start_periodic_check_for_corruption(void) | |||
33 | } | 33 | } |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | #endif /* ASM_X86__BIOS_EBDA_H */ | 36 | #endif /* _ASM_X86_BIOS_EBDA_H */ |
diff --git a/arch/x86/include/asm/bitops.h b/arch/x86/include/asm/bitops.h index 451a74762bd4..360010322711 100644 --- a/arch/x86/include/asm/bitops.h +++ b/arch/x86/include/asm/bitops.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__BITOPS_H | 1 | #ifndef _ASM_X86_BITOPS_H |
2 | #define ASM_X86__BITOPS_H | 2 | #define _ASM_X86_BITOPS_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Copyright 1992, Linus Torvalds. | 5 | * Copyright 1992, Linus Torvalds. |
@@ -448,4 +448,4 @@ static inline int fls(int x) | |||
448 | #include <asm-generic/bitops/minix.h> | 448 | #include <asm-generic/bitops/minix.h> |
449 | 449 | ||
450 | #endif /* __KERNEL__ */ | 450 | #endif /* __KERNEL__ */ |
451 | #endif /* ASM_X86__BITOPS_H */ | 451 | #endif /* _ASM_X86_BITOPS_H */ |
diff --git a/arch/x86/include/asm/boot.h b/arch/x86/include/asm/boot.h index 1d63bd5d5946..dd61616cb73d 100644 --- a/arch/x86/include/asm/boot.h +++ b/arch/x86/include/asm/boot.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__BOOT_H | 1 | #ifndef _ASM_X86_BOOT_H |
2 | #define ASM_X86__BOOT_H | 2 | #define _ASM_X86_BOOT_H |
3 | 3 | ||
4 | /* Don't touch these, unless you really know what you're doing. */ | 4 | /* Don't touch these, unless you really know what you're doing. */ |
5 | #define DEF_SYSSEG 0x1000 | 5 | #define DEF_SYSSEG 0x1000 |
@@ -23,4 +23,4 @@ | |||
23 | #define BOOT_STACK_SIZE 0x1000 | 23 | #define BOOT_STACK_SIZE 0x1000 |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #endif /* ASM_X86__BOOT_H */ | 26 | #endif /* _ASM_X86_BOOT_H */ |
diff --git a/arch/x86/include/asm/bootparam.h b/arch/x86/include/asm/bootparam.h index ccf027e2d97d..433adaebf9b6 100644 --- a/arch/x86/include/asm/bootparam.h +++ b/arch/x86/include/asm/bootparam.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__BOOTPARAM_H | 1 | #ifndef _ASM_X86_BOOTPARAM_H |
2 | #define ASM_X86__BOOTPARAM_H | 2 | #define _ASM_X86_BOOTPARAM_H |
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | #include <linux/screen_info.h> | 5 | #include <linux/screen_info.h> |
@@ -108,4 +108,4 @@ struct boot_params { | |||
108 | __u8 _pad9[276]; /* 0xeec */ | 108 | __u8 _pad9[276]; /* 0xeec */ |
109 | } __attribute__((packed)); | 109 | } __attribute__((packed)); |
110 | 110 | ||
111 | #endif /* ASM_X86__BOOTPARAM_H */ | 111 | #endif /* _ASM_X86_BOOTPARAM_H */ |
diff --git a/arch/x86/include/asm/bug.h b/arch/x86/include/asm/bug.h index 91ad43a54c47..3def2065fcea 100644 --- a/arch/x86/include/asm/bug.h +++ b/arch/x86/include/asm/bug.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__BUG_H | 1 | #ifndef _ASM_X86_BUG_H |
2 | #define ASM_X86__BUG_H | 2 | #define _ASM_X86_BUG_H |
3 | 3 | ||
4 | #ifdef CONFIG_BUG | 4 | #ifdef CONFIG_BUG |
5 | #define HAVE_ARCH_BUG | 5 | #define HAVE_ARCH_BUG |
@@ -36,4 +36,4 @@ do { \ | |||
36 | #endif /* !CONFIG_BUG */ | 36 | #endif /* !CONFIG_BUG */ |
37 | 37 | ||
38 | #include <asm-generic/bug.h> | 38 | #include <asm-generic/bug.h> |
39 | #endif /* ASM_X86__BUG_H */ | 39 | #endif /* _ASM_X86_BUG_H */ |
diff --git a/arch/x86/include/asm/bugs.h b/arch/x86/include/asm/bugs.h index dc604985f2ad..08abf639075f 100644 --- a/arch/x86/include/asm/bugs.h +++ b/arch/x86/include/asm/bugs.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__BUGS_H | 1 | #ifndef _ASM_X86_BUGS_H |
2 | #define ASM_X86__BUGS_H | 2 | #define _ASM_X86_BUGS_H |
3 | 3 | ||
4 | extern void check_bugs(void); | 4 | extern void check_bugs(void); |
5 | 5 | ||
@@ -9,4 +9,4 @@ int ppro_with_ram_bug(void); | |||
9 | static inline int ppro_with_ram_bug(void) { return 0; } | 9 | static inline int ppro_with_ram_bug(void) { return 0; } |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | #endif /* ASM_X86__BUGS_H */ | 12 | #endif /* _ASM_X86_BUGS_H */ |
diff --git a/arch/x86/include/asm/byteorder.h b/arch/x86/include/asm/byteorder.h index 722f27d68105..e02ae2d89acf 100644 --- a/arch/x86/include/asm/byteorder.h +++ b/arch/x86/include/asm/byteorder.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__BYTEORDER_H | 1 | #ifndef _ASM_X86_BYTEORDER_H |
2 | #define ASM_X86__BYTEORDER_H | 2 | #define _ASM_X86_BYTEORDER_H |
3 | 3 | ||
4 | #include <asm/types.h> | 4 | #include <asm/types.h> |
5 | #include <linux/compiler.h> | 5 | #include <linux/compiler.h> |
@@ -78,4 +78,4 @@ static inline __attribute_const__ __u32 ___arch__swab32(__u32 x) | |||
78 | 78 | ||
79 | #include <linux/byteorder/little_endian.h> | 79 | #include <linux/byteorder/little_endian.h> |
80 | 80 | ||
81 | #endif /* ASM_X86__BYTEORDER_H */ | 81 | #endif /* _ASM_X86_BYTEORDER_H */ |
diff --git a/arch/x86/include/asm/cache.h b/arch/x86/include/asm/cache.h index ea3f1cc06a97..5d367caa0e36 100644 --- a/arch/x86/include/asm/cache.h +++ b/arch/x86/include/asm/cache.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__CACHE_H | 1 | #ifndef _ASM_X86_CACHE_H |
2 | #define ASM_X86__CACHE_H | 2 | #define _ASM_X86_CACHE_H |
3 | 3 | ||
4 | /* L1 cache line size */ | 4 | /* L1 cache line size */ |
5 | #define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT) | 5 | #define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT) |
@@ -17,4 +17,4 @@ | |||
17 | #endif | 17 | #endif |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #endif /* ASM_X86__CACHE_H */ | 20 | #endif /* _ASM_X86_CACHE_H */ |
diff --git a/arch/x86/include/asm/cacheflush.h b/arch/x86/include/asm/cacheflush.h index 68840ef1b35a..2f8466540fb5 100644 --- a/arch/x86/include/asm/cacheflush.h +++ b/arch/x86/include/asm/cacheflush.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__CACHEFLUSH_H | 1 | #ifndef _ASM_X86_CACHEFLUSH_H |
2 | #define ASM_X86__CACHEFLUSH_H | 2 | #define _ASM_X86_CACHEFLUSH_H |
3 | 3 | ||
4 | /* Keep includes the same across arches. */ | 4 | /* Keep includes the same across arches. */ |
5 | #include <linux/mm.h> | 5 | #include <linux/mm.h> |
@@ -115,4 +115,4 @@ static inline int rodata_test(void) | |||
115 | } | 115 | } |
116 | #endif | 116 | #endif |
117 | 117 | ||
118 | #endif /* ASM_X86__CACHEFLUSH_H */ | 118 | #endif /* _ASM_X86_CACHEFLUSH_H */ |
diff --git a/arch/x86/include/asm/calgary.h b/arch/x86/include/asm/calgary.h index 933fd272f826..b03bedb62aa7 100644 --- a/arch/x86/include/asm/calgary.h +++ b/arch/x86/include/asm/calgary.h | |||
@@ -21,8 +21,8 @@ | |||
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef ASM_X86__CALGARY_H | 24 | #ifndef _ASM_X86_CALGARY_H |
25 | #define ASM_X86__CALGARY_H | 25 | #define _ASM_X86_CALGARY_H |
26 | 26 | ||
27 | #include <linux/spinlock.h> | 27 | #include <linux/spinlock.h> |
28 | #include <linux/device.h> | 28 | #include <linux/device.h> |
@@ -69,4 +69,4 @@ static inline int calgary_iommu_init(void) { return 1; } | |||
69 | static inline void detect_calgary(void) { return; } | 69 | static inline void detect_calgary(void) { return; } |
70 | #endif | 70 | #endif |
71 | 71 | ||
72 | #endif /* ASM_X86__CALGARY_H */ | 72 | #endif /* _ASM_X86_CALGARY_H */ |
diff --git a/arch/x86/include/asm/checksum_32.h b/arch/x86/include/asm/checksum_32.h index d041e8cda227..7c5ef8b14d92 100644 --- a/arch/x86/include/asm/checksum_32.h +++ b/arch/x86/include/asm/checksum_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__CHECKSUM_32_H | 1 | #ifndef _ASM_X86_CHECKSUM_32_H |
2 | #define ASM_X86__CHECKSUM_32_H | 2 | #define _ASM_X86_CHECKSUM_32_H |
3 | 3 | ||
4 | #include <linux/in6.h> | 4 | #include <linux/in6.h> |
5 | 5 | ||
@@ -186,4 +186,4 @@ static inline __wsum csum_and_copy_to_user(const void *src, | |||
186 | return (__force __wsum)-1; /* invalid checksum */ | 186 | return (__force __wsum)-1; /* invalid checksum */ |
187 | } | 187 | } |
188 | 188 | ||
189 | #endif /* ASM_X86__CHECKSUM_32_H */ | 189 | #endif /* _ASM_X86_CHECKSUM_32_H */ |
diff --git a/arch/x86/include/asm/checksum_64.h b/arch/x86/include/asm/checksum_64.h index 110f403beb89..9bfdc41629ec 100644 --- a/arch/x86/include/asm/checksum_64.h +++ b/arch/x86/include/asm/checksum_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__CHECKSUM_64_H | 1 | #ifndef _ASM_X86_CHECKSUM_64_H |
2 | #define ASM_X86__CHECKSUM_64_H | 2 | #define _ASM_X86_CHECKSUM_64_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Checksums for x86-64 | 5 | * Checksums for x86-64 |
@@ -188,4 +188,4 @@ static inline unsigned add32_with_carry(unsigned a, unsigned b) | |||
188 | return a; | 188 | return a; |
189 | } | 189 | } |
190 | 190 | ||
191 | #endif /* ASM_X86__CHECKSUM_64_H */ | 191 | #endif /* _ASM_X86_CHECKSUM_64_H */ |
diff --git a/arch/x86/include/asm/cmpxchg_32.h b/arch/x86/include/asm/cmpxchg_32.h index 0622e45cdf7c..82ceb788a981 100644 --- a/arch/x86/include/asm/cmpxchg_32.h +++ b/arch/x86/include/asm/cmpxchg_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__CMPXCHG_32_H | 1 | #ifndef _ASM_X86_CMPXCHG_32_H |
2 | #define ASM_X86__CMPXCHG_32_H | 2 | #define _ASM_X86_CMPXCHG_32_H |
3 | 3 | ||
4 | #include <linux/bitops.h> /* for LOCK_PREFIX */ | 4 | #include <linux/bitops.h> /* for LOCK_PREFIX */ |
5 | 5 | ||
@@ -341,4 +341,4 @@ extern unsigned long long cmpxchg_486_u64(volatile void *, u64, u64); | |||
341 | 341 | ||
342 | #endif | 342 | #endif |
343 | 343 | ||
344 | #endif /* ASM_X86__CMPXCHG_32_H */ | 344 | #endif /* _ASM_X86_CMPXCHG_32_H */ |
diff --git a/arch/x86/include/asm/cmpxchg_64.h b/arch/x86/include/asm/cmpxchg_64.h index 63c1a5e61b99..52de72e0de8c 100644 --- a/arch/x86/include/asm/cmpxchg_64.h +++ b/arch/x86/include/asm/cmpxchg_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__CMPXCHG_64_H | 1 | #ifndef _ASM_X86_CMPXCHG_64_H |
2 | #define ASM_X86__CMPXCHG_64_H | 2 | #define _ASM_X86_CMPXCHG_64_H |
3 | 3 | ||
4 | #include <asm/alternative.h> /* Provides LOCK_PREFIX */ | 4 | #include <asm/alternative.h> /* Provides LOCK_PREFIX */ |
5 | 5 | ||
@@ -182,4 +182,4 @@ static inline unsigned long __cmpxchg_local(volatile void *ptr, | |||
182 | cmpxchg_local((ptr), (o), (n)); \ | 182 | cmpxchg_local((ptr), (o), (n)); \ |
183 | }) | 183 | }) |
184 | 184 | ||
185 | #endif /* ASM_X86__CMPXCHG_64_H */ | 185 | #endif /* _ASM_X86_CMPXCHG_64_H */ |
diff --git a/arch/x86/include/asm/compat.h b/arch/x86/include/asm/compat.h index 6732b150949e..9a9c7bdc923d 100644 --- a/arch/x86/include/asm/compat.h +++ b/arch/x86/include/asm/compat.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__COMPAT_H | 1 | #ifndef _ASM_X86_COMPAT_H |
2 | #define ASM_X86__COMPAT_H | 2 | #define _ASM_X86_COMPAT_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Architecture specific compatibility types | 5 | * Architecture specific compatibility types |
@@ -215,4 +215,4 @@ static inline int is_compat_task(void) | |||
215 | return current_thread_info()->status & TS_COMPAT; | 215 | return current_thread_info()->status & TS_COMPAT; |
216 | } | 216 | } |
217 | 217 | ||
218 | #endif /* ASM_X86__COMPAT_H */ | 218 | #endif /* _ASM_X86_COMPAT_H */ |
diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h index 83a115083f0d..bae482df6039 100644 --- a/arch/x86/include/asm/cpu.h +++ b/arch/x86/include/asm/cpu.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__CPU_H | 1 | #ifndef _ASM_X86_CPU_H |
2 | #define ASM_X86__CPU_H | 2 | #define _ASM_X86_CPU_H |
3 | 3 | ||
4 | #include <linux/device.h> | 4 | #include <linux/device.h> |
5 | #include <linux/cpu.h> | 5 | #include <linux/cpu.h> |
@@ -17,4 +17,4 @@ extern void arch_unregister_cpu(int); | |||
17 | #endif | 17 | #endif |
18 | 18 | ||
19 | DECLARE_PER_CPU(int, cpu_state); | 19 | DECLARE_PER_CPU(int, cpu_state); |
20 | #endif /* ASM_X86__CPU_H */ | 20 | #endif /* _ASM_X86_CPU_H */ |
diff --git a/arch/x86/include/asm/cpufeature.h b/arch/x86/include/asm/cpufeature.h index adfeae6586e1..f73e95d75b45 100644 --- a/arch/x86/include/asm/cpufeature.h +++ b/arch/x86/include/asm/cpufeature.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * Defines x86 CPU feature bits | 2 | * Defines x86 CPU feature bits |
3 | */ | 3 | */ |
4 | #ifndef ASM_X86__CPUFEATURE_H | 4 | #ifndef _ASM_X86_CPUFEATURE_H |
5 | #define ASM_X86__CPUFEATURE_H | 5 | #define _ASM_X86_CPUFEATURE_H |
6 | 6 | ||
7 | #include <asm/required-features.h> | 7 | #include <asm/required-features.h> |
8 | 8 | ||
@@ -268,4 +268,4 @@ extern const char * const x86_power_flags[32]; | |||
268 | 268 | ||
269 | #endif /* defined(__KERNEL__) && !defined(__ASSEMBLY__) */ | 269 | #endif /* defined(__KERNEL__) && !defined(__ASSEMBLY__) */ |
270 | 270 | ||
271 | #endif /* ASM_X86__CPUFEATURE_H */ | 271 | #endif /* _ASM_X86_CPUFEATURE_H */ |
diff --git a/arch/x86/include/asm/current.h b/arch/x86/include/asm/current.h index a863ead856f3..0930b4f8d672 100644 --- a/arch/x86/include/asm/current.h +++ b/arch/x86/include/asm/current.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__CURRENT_H | 1 | #ifndef _ASM_X86_CURRENT_H |
2 | #define ASM_X86__CURRENT_H | 2 | #define _ASM_X86_CURRENT_H |
3 | 3 | ||
4 | #ifdef CONFIG_X86_32 | 4 | #ifdef CONFIG_X86_32 |
5 | #include <linux/compiler.h> | 5 | #include <linux/compiler.h> |
@@ -36,4 +36,4 @@ static __always_inline struct task_struct *get_current(void) | |||
36 | 36 | ||
37 | #define current get_current() | 37 | #define current get_current() |
38 | 38 | ||
39 | #endif /* ASM_X86__CURRENT_H */ | 39 | #endif /* _ASM_X86_CURRENT_H */ |
diff --git a/arch/x86/include/asm/debugreg.h b/arch/x86/include/asm/debugreg.h index ecb6907c3ea4..3ea6f37be9e2 100644 --- a/arch/x86/include/asm/debugreg.h +++ b/arch/x86/include/asm/debugreg.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__DEBUGREG_H | 1 | #ifndef _ASM_X86_DEBUGREG_H |
2 | #define ASM_X86__DEBUGREG_H | 2 | #define _ASM_X86_DEBUGREG_H |
3 | 3 | ||
4 | 4 | ||
5 | /* Indicate the register numbers for a number of the specific | 5 | /* Indicate the register numbers for a number of the specific |
@@ -67,4 +67,4 @@ | |||
67 | #define DR_LOCAL_SLOWDOWN (0x100) /* Local slow the pipeline */ | 67 | #define DR_LOCAL_SLOWDOWN (0x100) /* Local slow the pipeline */ |
68 | #define DR_GLOBAL_SLOWDOWN (0x200) /* Global slow the pipeline */ | 68 | #define DR_GLOBAL_SLOWDOWN (0x200) /* Global slow the pipeline */ |
69 | 69 | ||
70 | #endif /* ASM_X86__DEBUGREG_H */ | 70 | #endif /* _ASM_X86_DEBUGREG_H */ |
diff --git a/arch/x86/include/asm/delay.h b/arch/x86/include/asm/delay.h index 8a0da95b4fc5..409a649204aa 100644 --- a/arch/x86/include/asm/delay.h +++ b/arch/x86/include/asm/delay.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__DELAY_H | 1 | #ifndef _ASM_X86_DELAY_H |
2 | #define ASM_X86__DELAY_H | 2 | #define _ASM_X86_DELAY_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Copyright (C) 1993 Linus Torvalds | 5 | * Copyright (C) 1993 Linus Torvalds |
@@ -28,4 +28,4 @@ extern void __delay(unsigned long loops); | |||
28 | 28 | ||
29 | void use_tsc_delay(void); | 29 | void use_tsc_delay(void); |
30 | 30 | ||
31 | #endif /* ASM_X86__DELAY_H */ | 31 | #endif /* _ASM_X86_DELAY_H */ |
diff --git a/arch/x86/include/asm/desc.h b/arch/x86/include/asm/desc.h index f06adac7938c..e6b82b17b072 100644 --- a/arch/x86/include/asm/desc.h +++ b/arch/x86/include/asm/desc.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__DESC_H | 1 | #ifndef _ASM_X86_DESC_H |
2 | #define ASM_X86__DESC_H | 2 | #define _ASM_X86_DESC_H |
3 | 3 | ||
4 | #ifndef __ASSEMBLY__ | 4 | #ifndef __ASSEMBLY__ |
5 | #include <asm/desc_defs.h> | 5 | #include <asm/desc_defs.h> |
@@ -406,4 +406,4 @@ static inline void set_system_intr_gate_ist(int n, void *addr, unsigned ist) | |||
406 | 406 | ||
407 | #endif /* __ASSEMBLY__ */ | 407 | #endif /* __ASSEMBLY__ */ |
408 | 408 | ||
409 | #endif /* ASM_X86__DESC_H */ | 409 | #endif /* _ASM_X86_DESC_H */ |
diff --git a/arch/x86/include/asm/desc_defs.h b/arch/x86/include/asm/desc_defs.h index b881db664b46..a6adefa28b94 100644 --- a/arch/x86/include/asm/desc_defs.h +++ b/arch/x86/include/asm/desc_defs.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* Written 2000 by Andi Kleen */ | 1 | /* Written 2000 by Andi Kleen */ |
2 | #ifndef ASM_X86__DESC_DEFS_H | 2 | #ifndef _ASM_X86_DESC_DEFS_H |
3 | #define ASM_X86__DESC_DEFS_H | 3 | #define _ASM_X86_DESC_DEFS_H |
4 | 4 | ||
5 | /* | 5 | /* |
6 | * Segment descriptor structure definitions, usable from both x86_64 and i386 | 6 | * Segment descriptor structure definitions, usable from both x86_64 and i386 |
@@ -92,4 +92,4 @@ struct desc_ptr { | |||
92 | 92 | ||
93 | #endif /* !__ASSEMBLY__ */ | 93 | #endif /* !__ASSEMBLY__ */ |
94 | 94 | ||
95 | #endif /* ASM_X86__DESC_DEFS_H */ | 95 | #endif /* _ASM_X86_DESC_DEFS_H */ |
diff --git a/arch/x86/include/asm/device.h b/arch/x86/include/asm/device.h index 1bece04c7d9d..3c034f48fdb0 100644 --- a/arch/x86/include/asm/device.h +++ b/arch/x86/include/asm/device.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__DEVICE_H | 1 | #ifndef _ASM_X86_DEVICE_H |
2 | #define ASM_X86__DEVICE_H | 2 | #define _ASM_X86_DEVICE_H |
3 | 3 | ||
4 | struct dev_archdata { | 4 | struct dev_archdata { |
5 | #ifdef CONFIG_ACPI | 5 | #ifdef CONFIG_ACPI |
@@ -13,4 +13,4 @@ struct dma_mapping_ops *dma_ops; | |||
13 | #endif | 13 | #endif |
14 | }; | 14 | }; |
15 | 15 | ||
16 | #endif /* ASM_X86__DEVICE_H */ | 16 | #endif /* _ASM_X86_DEVICE_H */ |
diff --git a/arch/x86/include/asm/div64.h b/arch/x86/include/asm/div64.h index f9530f23f1d6..9a2d644c08ef 100644 --- a/arch/x86/include/asm/div64.h +++ b/arch/x86/include/asm/div64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__DIV64_H | 1 | #ifndef _ASM_X86_DIV64_H |
2 | #define ASM_X86__DIV64_H | 2 | #define _ASM_X86_DIV64_H |
3 | 3 | ||
4 | #ifdef CONFIG_X86_32 | 4 | #ifdef CONFIG_X86_32 |
5 | 5 | ||
@@ -57,4 +57,4 @@ static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) | |||
57 | # include <asm-generic/div64.h> | 57 | # include <asm-generic/div64.h> |
58 | #endif /* CONFIG_X86_32 */ | 58 | #endif /* CONFIG_X86_32 */ |
59 | 59 | ||
60 | #endif /* ASM_X86__DIV64_H */ | 60 | #endif /* _ASM_X86_DIV64_H */ |
diff --git a/arch/x86/include/asm/dma-mapping.h b/arch/x86/include/asm/dma-mapping.h index 219c33d6361c..4a5397bfce27 100644 --- a/arch/x86/include/asm/dma-mapping.h +++ b/arch/x86/include/asm/dma-mapping.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__DMA_MAPPING_H | 1 | #ifndef _ASM_X86_DMA_MAPPING_H |
2 | #define ASM_X86__DMA_MAPPING_H | 2 | #define _ASM_X86_DMA_MAPPING_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * IOMMU interface. See Documentation/DMA-mapping.txt and DMA-API.txt for | 5 | * IOMMU interface. See Documentation/DMA-mapping.txt and DMA-API.txt for |
@@ -65,7 +65,7 @@ static inline struct dma_mapping_ops *get_dma_ops(struct device *dev) | |||
65 | return dma_ops; | 65 | return dma_ops; |
66 | else | 66 | else |
67 | return dev->archdata.dma_ops; | 67 | return dev->archdata.dma_ops; |
68 | #endif /* ASM_X86__DMA_MAPPING_H */ | 68 | #endif /* _ASM_X86_DMA_MAPPING_H */ |
69 | } | 69 | } |
70 | 70 | ||
71 | /* Make sure we keep the same behaviour */ | 71 | /* Make sure we keep the same behaviour */ |
diff --git a/arch/x86/include/asm/dma.h b/arch/x86/include/asm/dma.h index c9f7a4eec555..ca1098a7e580 100644 --- a/arch/x86/include/asm/dma.h +++ b/arch/x86/include/asm/dma.h | |||
@@ -5,8 +5,8 @@ | |||
5 | * and John Boyd, Nov. 1992. | 5 | * and John Boyd, Nov. 1992. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #ifndef ASM_X86__DMA_H | 8 | #ifndef _ASM_X86_DMA_H |
9 | #define ASM_X86__DMA_H | 9 | #define _ASM_X86_DMA_H |
10 | 10 | ||
11 | #include <linux/spinlock.h> /* And spinlocks */ | 11 | #include <linux/spinlock.h> /* And spinlocks */ |
12 | #include <asm/io.h> /* need byte IO */ | 12 | #include <asm/io.h> /* need byte IO */ |
@@ -315,4 +315,4 @@ extern int isa_dma_bridge_buggy; | |||
315 | #define isa_dma_bridge_buggy (0) | 315 | #define isa_dma_bridge_buggy (0) |
316 | #endif | 316 | #endif |
317 | 317 | ||
318 | #endif /* ASM_X86__DMA_H */ | 318 | #endif /* _ASM_X86_DMA_H */ |
diff --git a/arch/x86/include/asm/dmi.h b/arch/x86/include/asm/dmi.h index 1cff6fe81fa5..bc68212c6bc0 100644 --- a/arch/x86/include/asm/dmi.h +++ b/arch/x86/include/asm/dmi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__DMI_H | 1 | #ifndef _ASM_X86_DMI_H |
2 | #define ASM_X86__DMI_H | 2 | #define _ASM_X86_DMI_H |
3 | 3 | ||
4 | #include <asm/io.h> | 4 | #include <asm/io.h> |
5 | 5 | ||
@@ -23,4 +23,4 @@ static inline void *dmi_alloc(unsigned len) | |||
23 | #define dmi_ioremap early_ioremap | 23 | #define dmi_ioremap early_ioremap |
24 | #define dmi_iounmap early_iounmap | 24 | #define dmi_iounmap early_iounmap |
25 | 25 | ||
26 | #endif /* ASM_X86__DMI_H */ | 26 | #endif /* _ASM_X86_DMI_H */ |
diff --git a/arch/x86/include/asm/ds.h b/arch/x86/include/asm/ds.h index c3c953a45b21..72c5a190bf48 100644 --- a/arch/x86/include/asm/ds.h +++ b/arch/x86/include/asm/ds.h | |||
@@ -20,8 +20,8 @@ | |||
20 | * Markus Metzger <markus.t.metzger@intel.com>, 2007-2008 | 20 | * Markus Metzger <markus.t.metzger@intel.com>, 2007-2008 |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #ifndef ASM_X86__DS_H | 23 | #ifndef _ASM_X86_DS_H |
24 | #define ASM_X86__DS_H | 24 | #define _ASM_X86_DS_H |
25 | 25 | ||
26 | #ifdef CONFIG_X86_DS | 26 | #ifdef CONFIG_X86_DS |
27 | 27 | ||
@@ -235,4 +235,4 @@ extern void ds_free(struct ds_context *context); | |||
235 | #define ds_init_intel(config) do {} while (0) | 235 | #define ds_init_intel(config) do {} while (0) |
236 | 236 | ||
237 | #endif /* CONFIG_X86_DS */ | 237 | #endif /* CONFIG_X86_DS */ |
238 | #endif /* ASM_X86__DS_H */ | 238 | #endif /* _ASM_X86_DS_H */ |
diff --git a/arch/x86/include/asm/dwarf2.h b/arch/x86/include/asm/dwarf2.h index 21d1bc32ad7c..804b6e6be929 100644 --- a/arch/x86/include/asm/dwarf2.h +++ b/arch/x86/include/asm/dwarf2.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__DWARF2_H | 1 | #ifndef _ASM_X86_DWARF2_H |
2 | #define ASM_X86__DWARF2_H | 2 | #define _ASM_X86_DWARF2_H |
3 | 3 | ||
4 | #ifndef __ASSEMBLY__ | 4 | #ifndef __ASSEMBLY__ |
5 | #warning "asm/dwarf2.h should be only included in pure assembly files" | 5 | #warning "asm/dwarf2.h should be only included in pure assembly files" |
@@ -58,4 +58,4 @@ | |||
58 | 58 | ||
59 | #endif | 59 | #endif |
60 | 60 | ||
61 | #endif /* ASM_X86__DWARF2_H */ | 61 | #endif /* _ASM_X86_DWARF2_H */ |
diff --git a/arch/x86/include/asm/e820.h b/arch/x86/include/asm/e820.h index 5abbdec06bd2..3d8ceddbd407 100644 --- a/arch/x86/include/asm/e820.h +++ b/arch/x86/include/asm/e820.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__E820_H | 1 | #ifndef _ASM_X86_E820_H |
2 | #define ASM_X86__E820_H | 2 | #define _ASM_X86_E820_H |
3 | #define E820MAP 0x2d0 /* our map */ | 3 | #define E820MAP 0x2d0 /* our map */ |
4 | #define E820MAX 128 /* number of entries in E820MAP */ | 4 | #define E820MAX 128 /* number of entries in E820MAP */ |
5 | 5 | ||
@@ -143,4 +143,4 @@ extern char *memory_setup(void); | |||
143 | #define HIGH_MEMORY (1024*1024) | 143 | #define HIGH_MEMORY (1024*1024) |
144 | #endif /* __KERNEL__ */ | 144 | #endif /* __KERNEL__ */ |
145 | 145 | ||
146 | #endif /* ASM_X86__E820_H */ | 146 | #endif /* _ASM_X86_E820_H */ |
diff --git a/arch/x86/include/asm/edac.h b/arch/x86/include/asm/edac.h index 9493c5b27bbd..e9b57ecc70c5 100644 --- a/arch/x86/include/asm/edac.h +++ b/arch/x86/include/asm/edac.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__EDAC_H | 1 | #ifndef _ASM_X86_EDAC_H |
2 | #define ASM_X86__EDAC_H | 2 | #define _ASM_X86_EDAC_H |
3 | 3 | ||
4 | /* ECC atomic, DMA, SMP and interrupt safe scrub function */ | 4 | /* ECC atomic, DMA, SMP and interrupt safe scrub function */ |
5 | 5 | ||
@@ -15,4 +15,4 @@ static inline void atomic_scrub(void *va, u32 size) | |||
15 | asm volatile("lock; addl $0, %0"::"m" (*virt_addr)); | 15 | asm volatile("lock; addl $0, %0"::"m" (*virt_addr)); |
16 | } | 16 | } |
17 | 17 | ||
18 | #endif /* ASM_X86__EDAC_H */ | 18 | #endif /* _ASM_X86_EDAC_H */ |
diff --git a/arch/x86/include/asm/efi.h b/arch/x86/include/asm/efi.h index 313438e63348..a2e545c91c35 100644 --- a/arch/x86/include/asm/efi.h +++ b/arch/x86/include/asm/efi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__EFI_H | 1 | #ifndef _ASM_X86_EFI_H |
2 | #define ASM_X86__EFI_H | 2 | #define _ASM_X86_EFI_H |
3 | 3 | ||
4 | #ifdef CONFIG_X86_32 | 4 | #ifdef CONFIG_X86_32 |
5 | 5 | ||
@@ -107,4 +107,4 @@ extern void efi_call_phys_epilog(void); | |||
107 | #define efi_call6(_f, _a1, _a2, _a3, _a4, _a5, _a6) (-ENOSYS) | 107 | #define efi_call6(_f, _a1, _a2, _a3, _a4, _a5, _a6) (-ENOSYS) |
108 | #endif /* CONFIG_EFI */ | 108 | #endif /* CONFIG_EFI */ |
109 | 109 | ||
110 | #endif /* ASM_X86__EFI_H */ | 110 | #endif /* _ASM_X86_EFI_H */ |
diff --git a/arch/x86/include/asm/elf.h b/arch/x86/include/asm/elf.h index 26bc15f01e78..40ca1bea7916 100644 --- a/arch/x86/include/asm/elf.h +++ b/arch/x86/include/asm/elf.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__ELF_H | 1 | #ifndef _ASM_X86_ELF_H |
2 | #define ASM_X86__ELF_H | 2 | #define _ASM_X86_ELF_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * ELF register definitions.. | 5 | * ELF register definitions.. |
@@ -333,4 +333,4 @@ extern int syscall32_setup_pages(struct linux_binprm *, int exstack); | |||
333 | extern unsigned long arch_randomize_brk(struct mm_struct *mm); | 333 | extern unsigned long arch_randomize_brk(struct mm_struct *mm); |
334 | #define arch_randomize_brk arch_randomize_brk | 334 | #define arch_randomize_brk arch_randomize_brk |
335 | 335 | ||
336 | #endif /* ASM_X86__ELF_H */ | 336 | #endif /* _ASM_X86_ELF_H */ |
diff --git a/arch/x86/include/asm/emergency-restart.h b/arch/x86/include/asm/emergency-restart.h index 190d0d8b71e3..94826cf87455 100644 --- a/arch/x86/include/asm/emergency-restart.h +++ b/arch/x86/include/asm/emergency-restart.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__EMERGENCY_RESTART_H | 1 | #ifndef _ASM_X86_EMERGENCY_RESTART_H |
2 | #define ASM_X86__EMERGENCY_RESTART_H | 2 | #define _ASM_X86_EMERGENCY_RESTART_H |
3 | 3 | ||
4 | enum reboot_type { | 4 | enum reboot_type { |
5 | BOOT_TRIPLE = 't', | 5 | BOOT_TRIPLE = 't', |
@@ -15,4 +15,4 @@ extern enum reboot_type reboot_type; | |||
15 | 15 | ||
16 | extern void machine_emergency_restart(void); | 16 | extern void machine_emergency_restart(void); |
17 | 17 | ||
18 | #endif /* ASM_X86__EMERGENCY_RESTART_H */ | 18 | #endif /* _ASM_X86_EMERGENCY_RESTART_H */ |
diff --git a/arch/x86/include/asm/fb.h b/arch/x86/include/asm/fb.h index aca38dbd9a64..53018464aea6 100644 --- a/arch/x86/include/asm/fb.h +++ b/arch/x86/include/asm/fb.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__FB_H | 1 | #ifndef _ASM_X86_FB_H |
2 | #define ASM_X86__FB_H | 2 | #define _ASM_X86_FB_H |
3 | 3 | ||
4 | #include <linux/fb.h> | 4 | #include <linux/fb.h> |
5 | #include <linux/fs.h> | 5 | #include <linux/fs.h> |
@@ -18,4 +18,4 @@ extern int fb_is_primary_device(struct fb_info *info); | |||
18 | static inline int fb_is_primary_device(struct fb_info *info) { return 0; } | 18 | static inline int fb_is_primary_device(struct fb_info *info) { return 0; } |
19 | #endif | 19 | #endif |
20 | 20 | ||
21 | #endif /* ASM_X86__FB_H */ | 21 | #endif /* _ASM_X86_FB_H */ |
diff --git a/arch/x86/include/asm/fixmap.h b/arch/x86/include/asm/fixmap.h index 78e33a1bc591..8668a94f850e 100644 --- a/arch/x86/include/asm/fixmap.h +++ b/arch/x86/include/asm/fixmap.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__FIXMAP_H | 1 | #ifndef _ASM_X86_FIXMAP_H |
2 | #define ASM_X86__FIXMAP_H | 2 | #define _ASM_X86_FIXMAP_H |
3 | 3 | ||
4 | #ifdef CONFIG_X86_32 | 4 | #ifdef CONFIG_X86_32 |
5 | # include "fixmap_32.h" | 5 | # include "fixmap_32.h" |
@@ -65,4 +65,4 @@ static inline unsigned long virt_to_fix(const unsigned long vaddr) | |||
65 | BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); | 65 | BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); |
66 | return __virt_to_fix(vaddr); | 66 | return __virt_to_fix(vaddr); |
67 | } | 67 | } |
68 | #endif /* ASM_X86__FIXMAP_H */ | 68 | #endif /* _ASM_X86_FIXMAP_H */ |
diff --git a/arch/x86/include/asm/fixmap_32.h b/arch/x86/include/asm/fixmap_32.h index 8844002da0e0..09f29ab5c139 100644 --- a/arch/x86/include/asm/fixmap_32.h +++ b/arch/x86/include/asm/fixmap_32.h | |||
@@ -10,8 +10,8 @@ | |||
10 | * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999 | 10 | * Support of BIGMEM added by Gerhard Wichert, Siemens AG, July 1999 |
11 | */ | 11 | */ |
12 | 12 | ||
13 | #ifndef ASM_X86__FIXMAP_32_H | 13 | #ifndef _ASM_X86_FIXMAP_32_H |
14 | #define ASM_X86__FIXMAP_32_H | 14 | #define _ASM_X86_FIXMAP_32_H |
15 | 15 | ||
16 | 16 | ||
17 | /* used by vmalloc.c, vsyscall.lds.S. | 17 | /* used by vmalloc.c, vsyscall.lds.S. |
@@ -120,4 +120,4 @@ extern void reserve_top_address(unsigned long reserve); | |||
120 | #define FIXADDR_BOOT_START (FIXADDR_TOP - __FIXADDR_BOOT_SIZE) | 120 | #define FIXADDR_BOOT_START (FIXADDR_TOP - __FIXADDR_BOOT_SIZE) |
121 | 121 | ||
122 | #endif /* !__ASSEMBLY__ */ | 122 | #endif /* !__ASSEMBLY__ */ |
123 | #endif /* ASM_X86__FIXMAP_32_H */ | 123 | #endif /* _ASM_X86_FIXMAP_32_H */ |
diff --git a/arch/x86/include/asm/fixmap_64.h b/arch/x86/include/asm/fixmap_64.h index dab4751d1307..00a30ab9b1a5 100644 --- a/arch/x86/include/asm/fixmap_64.h +++ b/arch/x86/include/asm/fixmap_64.h | |||
@@ -8,8 +8,8 @@ | |||
8 | * Copyright (C) 1998 Ingo Molnar | 8 | * Copyright (C) 1998 Ingo Molnar |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef ASM_X86__FIXMAP_64_H | 11 | #ifndef _ASM_X86_FIXMAP_64_H |
12 | #define ASM_X86__FIXMAP_64_H | 12 | #define _ASM_X86_FIXMAP_64_H |
13 | 13 | ||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <asm/acpi.h> | 15 | #include <asm/acpi.h> |
@@ -80,4 +80,4 @@ enum fixed_addresses { | |||
80 | #define FIXADDR_USER_START ((unsigned long)VSYSCALL32_VSYSCALL) | 80 | #define FIXADDR_USER_START ((unsigned long)VSYSCALL32_VSYSCALL) |
81 | #define FIXADDR_USER_END (FIXADDR_USER_START + PAGE_SIZE) | 81 | #define FIXADDR_USER_END (FIXADDR_USER_START + PAGE_SIZE) |
82 | 82 | ||
83 | #endif /* ASM_X86__FIXMAP_64_H */ | 83 | #endif /* _ASM_X86_FIXMAP_64_H */ |
diff --git a/arch/x86/include/asm/floppy.h b/arch/x86/include/asm/floppy.h index 7d83a3a83e37..dbe82a5c5eac 100644 --- a/arch/x86/include/asm/floppy.h +++ b/arch/x86/include/asm/floppy.h | |||
@@ -7,8 +7,8 @@ | |||
7 | * | 7 | * |
8 | * Copyright (C) 1995 | 8 | * Copyright (C) 1995 |
9 | */ | 9 | */ |
10 | #ifndef ASM_X86__FLOPPY_H | 10 | #ifndef _ASM_X86_FLOPPY_H |
11 | #define ASM_X86__FLOPPY_H | 11 | #define _ASM_X86_FLOPPY_H |
12 | 12 | ||
13 | #include <linux/vmalloc.h> | 13 | #include <linux/vmalloc.h> |
14 | 14 | ||
@@ -278,4 +278,4 @@ static int FDC2 = -1; | |||
278 | 278 | ||
279 | #define EXTRA_FLOPPY_PARAMS | 279 | #define EXTRA_FLOPPY_PARAMS |
280 | 280 | ||
281 | #endif /* ASM_X86__FLOPPY_H */ | 281 | #endif /* _ASM_X86_FLOPPY_H */ |
diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h index 1bb6f9bbe1ab..47f7e65e6c1d 100644 --- a/arch/x86/include/asm/ftrace.h +++ b/arch/x86/include/asm/ftrace.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__FTRACE_H | 1 | #ifndef _ASM_X86_FTRACE_H |
2 | #define ASM_X86__FTRACE_H | 2 | #define _ASM_X86_FTRACE_H |
3 | 3 | ||
4 | #ifdef CONFIG_FTRACE | 4 | #ifdef CONFIG_FTRACE |
5 | #define MCOUNT_ADDR ((long)(mcount)) | 5 | #define MCOUNT_ADDR ((long)(mcount)) |
@@ -21,4 +21,4 @@ static inline unsigned long ftrace_call_adjust(unsigned long addr) | |||
21 | 21 | ||
22 | #endif /* CONFIG_FTRACE */ | 22 | #endif /* CONFIG_FTRACE */ |
23 | 23 | ||
24 | #endif /* ASM_X86__FTRACE_H */ | 24 | #endif /* _ASM_X86_FTRACE_H */ |
diff --git a/arch/x86/include/asm/futex.h b/arch/x86/include/asm/futex.h index 06b924ef6fa5..1f11ce44e956 100644 --- a/arch/x86/include/asm/futex.h +++ b/arch/x86/include/asm/futex.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__FUTEX_H | 1 | #ifndef _ASM_X86_FUTEX_H |
2 | #define ASM_X86__FUTEX_H | 2 | #define _ASM_X86_FUTEX_H |
3 | 3 | ||
4 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
5 | 5 | ||
@@ -137,4 +137,4 @@ static inline int futex_atomic_cmpxchg_inatomic(int __user *uaddr, int oldval, | |||
137 | } | 137 | } |
138 | 138 | ||
139 | #endif | 139 | #endif |
140 | #endif /* ASM_X86__FUTEX_H */ | 140 | #endif /* _ASM_X86_FUTEX_H */ |
diff --git a/arch/x86/include/asm/gart.h b/arch/x86/include/asm/gart.h index 605edb39ef9e..74252264433d 100644 --- a/arch/x86/include/asm/gart.h +++ b/arch/x86/include/asm/gart.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__GART_H | 1 | #ifndef _ASM_X86_GART_H |
2 | #define ASM_X86__GART_H | 2 | #define _ASM_X86_GART_H |
3 | 3 | ||
4 | #include <asm/e820.h> | 4 | #include <asm/e820.h> |
5 | 5 | ||
@@ -70,4 +70,4 @@ static inline int aperture_valid(u64 aper_base, u32 aper_size, u32 min_size) | |||
70 | return 1; | 70 | return 1; |
71 | } | 71 | } |
72 | 72 | ||
73 | #endif /* ASM_X86__GART_H */ | 73 | #endif /* _ASM_X86_GART_H */ |
diff --git a/arch/x86/include/asm/genapic_32.h b/arch/x86/include/asm/genapic_32.h index 6fe4f81bfcf9..5cbd4fcc06fd 100644 --- a/arch/x86/include/asm/genapic_32.h +++ b/arch/x86/include/asm/genapic_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__GENAPIC_32_H | 1 | #ifndef _ASM_X86_GENAPIC_32_H |
2 | #define ASM_X86__GENAPIC_32_H | 2 | #define _ASM_X86_GENAPIC_32_H |
3 | 3 | ||
4 | #include <asm/mpspec.h> | 4 | #include <asm/mpspec.h> |
5 | 5 | ||
@@ -123,4 +123,4 @@ enum uv_system_type {UV_NONE, UV_LEGACY_APIC, UV_X2APIC, UV_NON_UNIQUE_APIC}; | |||
123 | #define uv_system_init() do {} while (0) | 123 | #define uv_system_init() do {} while (0) |
124 | 124 | ||
125 | 125 | ||
126 | #endif /* ASM_X86__GENAPIC_32_H */ | 126 | #endif /* _ASM_X86_GENAPIC_32_H */ |
diff --git a/arch/x86/include/asm/genapic_64.h b/arch/x86/include/asm/genapic_64.h index ed6a4886c082..13c4e96199ea 100644 --- a/arch/x86/include/asm/genapic_64.h +++ b/arch/x86/include/asm/genapic_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__GENAPIC_64_H | 1 | #ifndef _ASM_X86_GENAPIC_64_H |
2 | #define ASM_X86__GENAPIC_64_H | 2 | #define _ASM_X86_GENAPIC_64_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Copyright 2004 James Cleverdon, IBM. | 5 | * Copyright 2004 James Cleverdon, IBM. |
@@ -55,4 +55,4 @@ extern int uv_wakeup_secondary(int phys_apicid, unsigned int start_rip); | |||
55 | 55 | ||
56 | extern void setup_apic_routing(void); | 56 | extern void setup_apic_routing(void); |
57 | 57 | ||
58 | #endif /* ASM_X86__GENAPIC_64_H */ | 58 | #endif /* _ASM_X86_GENAPIC_64_H */ |
diff --git a/arch/x86/include/asm/geode.h b/arch/x86/include/asm/geode.h index 3f3444be2638..ad3c2ed75481 100644 --- a/arch/x86/include/asm/geode.h +++ b/arch/x86/include/asm/geode.h | |||
@@ -7,8 +7,8 @@ | |||
7 | * as published by the Free Software Foundation. | 7 | * as published by the Free Software Foundation. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #ifndef ASM_X86__GEODE_H | 10 | #ifndef _ASM_X86_GEODE_H |
11 | #define ASM_X86__GEODE_H | 11 | #define _ASM_X86_GEODE_H |
12 | 12 | ||
13 | #include <asm/processor.h> | 13 | #include <asm/processor.h> |
14 | #include <linux/io.h> | 14 | #include <linux/io.h> |
@@ -250,4 +250,4 @@ extern int __init mfgpt_timer_setup(void); | |||
250 | static inline int mfgpt_timer_setup(void) { return 0; } | 250 | static inline int mfgpt_timer_setup(void) { return 0; } |
251 | #endif | 251 | #endif |
252 | 252 | ||
253 | #endif /* ASM_X86__GEODE_H */ | 253 | #endif /* _ASM_X86_GEODE_H */ |
diff --git a/arch/x86/include/asm/gpio.h b/arch/x86/include/asm/gpio.h index 497fb980d962..1c07aad9624e 100644 --- a/arch/x86/include/asm/gpio.h +++ b/arch/x86/include/asm/gpio.h | |||
@@ -53,4 +53,4 @@ static inline int irq_to_gpio(unsigned int irq) | |||
53 | 53 | ||
54 | #endif /* CONFIG_GPIOLIB */ | 54 | #endif /* CONFIG_GPIOLIB */ |
55 | 55 | ||
56 | #endif /* ASM_X86__GPIO_H */ | 56 | #endif /* _ASM_X86_GPIO_H */ |
diff --git a/arch/x86/include/asm/hardirq_32.h b/arch/x86/include/asm/hardirq_32.h index 700fe230d919..5ca135e72f2b 100644 --- a/arch/x86/include/asm/hardirq_32.h +++ b/arch/x86/include/asm/hardirq_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__HARDIRQ_32_H | 1 | #ifndef _ASM_X86_HARDIRQ_32_H |
2 | #define ASM_X86__HARDIRQ_32_H | 2 | #define _ASM_X86_HARDIRQ_32_H |
3 | 3 | ||
4 | #include <linux/threads.h> | 4 | #include <linux/threads.h> |
5 | #include <linux/irq.h> | 5 | #include <linux/irq.h> |
@@ -25,4 +25,4 @@ DECLARE_PER_CPU(irq_cpustat_t, irq_stat); | |||
25 | void ack_bad_irq(unsigned int irq); | 25 | void ack_bad_irq(unsigned int irq); |
26 | #include <linux/irq_cpustat.h> | 26 | #include <linux/irq_cpustat.h> |
27 | 27 | ||
28 | #endif /* ASM_X86__HARDIRQ_32_H */ | 28 | #endif /* _ASM_X86_HARDIRQ_32_H */ |
diff --git a/arch/x86/include/asm/hardirq_64.h b/arch/x86/include/asm/hardirq_64.h index f8bd2919a8ce..1ba381fc51d3 100644 --- a/arch/x86/include/asm/hardirq_64.h +++ b/arch/x86/include/asm/hardirq_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__HARDIRQ_64_H | 1 | #ifndef _ASM_X86_HARDIRQ_64_H |
2 | #define ASM_X86__HARDIRQ_64_H | 2 | #define _ASM_X86_HARDIRQ_64_H |
3 | 3 | ||
4 | #include <linux/threads.h> | 4 | #include <linux/threads.h> |
5 | #include <linux/irq.h> | 5 | #include <linux/irq.h> |
@@ -20,4 +20,4 @@ | |||
20 | 20 | ||
21 | extern void ack_bad_irq(unsigned int irq); | 21 | extern void ack_bad_irq(unsigned int irq); |
22 | 22 | ||
23 | #endif /* ASM_X86__HARDIRQ_64_H */ | 23 | #endif /* _ASM_X86_HARDIRQ_64_H */ |
diff --git a/arch/x86/include/asm/highmem.h b/arch/x86/include/asm/highmem.h index bc3f6a280316..a3b3b7c3027b 100644 --- a/arch/x86/include/asm/highmem.h +++ b/arch/x86/include/asm/highmem.h | |||
@@ -15,8 +15,8 @@ | |||
15 | * Copyright (C) 1999 Ingo Molnar <mingo@redhat.com> | 15 | * Copyright (C) 1999 Ingo Molnar <mingo@redhat.com> |
16 | */ | 16 | */ |
17 | 17 | ||
18 | #ifndef ASM_X86__HIGHMEM_H | 18 | #ifndef _ASM_X86_HIGHMEM_H |
19 | #define ASM_X86__HIGHMEM_H | 19 | #define _ASM_X86_HIGHMEM_H |
20 | 20 | ||
21 | #ifdef __KERNEL__ | 21 | #ifdef __KERNEL__ |
22 | 22 | ||
@@ -79,4 +79,4 @@ extern void add_highpages_with_active_regions(int nid, unsigned long start_pfn, | |||
79 | 79 | ||
80 | #endif /* __KERNEL__ */ | 80 | #endif /* __KERNEL__ */ |
81 | 81 | ||
82 | #endif /* ASM_X86__HIGHMEM_H */ | 82 | #endif /* _ASM_X86_HIGHMEM_H */ |
diff --git a/arch/x86/include/asm/hpet.h b/arch/x86/include/asm/hpet.h index 58b273f6ef07..1c22cb05ad6a 100644 --- a/arch/x86/include/asm/hpet.h +++ b/arch/x86/include/asm/hpet.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__HPET_H | 1 | #ifndef _ASM_X86_HPET_H |
2 | #define ASM_X86__HPET_H | 2 | #define _ASM_X86_HPET_H |
3 | 3 | ||
4 | #include <linux/msi.h> | 4 | #include <linux/msi.h> |
5 | 5 | ||
@@ -111,4 +111,4 @@ static inline int is_hpet_enabled(void) { return 0; } | |||
111 | #define hpet_readl(a) 0 | 111 | #define hpet_readl(a) 0 |
112 | 112 | ||
113 | #endif | 113 | #endif |
114 | #endif /* ASM_X86__HPET_H */ | 114 | #endif /* _ASM_X86_HPET_H */ |
diff --git a/arch/x86/include/asm/hugetlb.h b/arch/x86/include/asm/hugetlb.h index 0b7ec5dc0884..439a9acc132d 100644 --- a/arch/x86/include/asm/hugetlb.h +++ b/arch/x86/include/asm/hugetlb.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__HUGETLB_H | 1 | #ifndef _ASM_X86_HUGETLB_H |
2 | #define ASM_X86__HUGETLB_H | 2 | #define _ASM_X86_HUGETLB_H |
3 | 3 | ||
4 | #include <asm/page.h> | 4 | #include <asm/page.h> |
5 | 5 | ||
@@ -90,4 +90,4 @@ static inline void arch_release_hugepage(struct page *page) | |||
90 | { | 90 | { |
91 | } | 91 | } |
92 | 92 | ||
93 | #endif /* ASM_X86__HUGETLB_H */ | 93 | #endif /* _ASM_X86_HUGETLB_H */ |
diff --git a/arch/x86/include/asm/hw_irq.h b/arch/x86/include/asm/hw_irq.h index 749d042f0556..b97aecb0b61d 100644 --- a/arch/x86/include/asm/hw_irq.h +++ b/arch/x86/include/asm/hw_irq.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__HW_IRQ_H | 1 | #ifndef _ASM_X86_HW_IRQ_H |
2 | #define ASM_X86__HW_IRQ_H | 2 | #define _ASM_X86_HW_IRQ_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar | 5 | * (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar |
@@ -128,4 +128,4 @@ static inline void __setup_vector_irq(int cpu) {} | |||
128 | 128 | ||
129 | #endif /* !ASSEMBLY_ */ | 129 | #endif /* !ASSEMBLY_ */ |
130 | 130 | ||
131 | #endif /* ASM_X86__HW_IRQ_H */ | 131 | #endif /* _ASM_X86_HW_IRQ_H */ |
diff --git a/arch/x86/include/asm/hypertransport.h b/arch/x86/include/asm/hypertransport.h index cc011a3bc1c2..334b1a885d9c 100644 --- a/arch/x86/include/asm/hypertransport.h +++ b/arch/x86/include/asm/hypertransport.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__HYPERTRANSPORT_H | 1 | #ifndef _ASM_X86_HYPERTRANSPORT_H |
2 | #define ASM_X86__HYPERTRANSPORT_H | 2 | #define _ASM_X86_HYPERTRANSPORT_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Constants for x86 Hypertransport Interrupts. | 5 | * Constants for x86 Hypertransport Interrupts. |
@@ -42,4 +42,4 @@ | |||
42 | #define HT_IRQ_HIGH_DEST_ID(v) \ | 42 | #define HT_IRQ_HIGH_DEST_ID(v) \ |
43 | ((((v) >> 8) << HT_IRQ_HIGH_DEST_ID_SHIFT) & HT_IRQ_HIGH_DEST_ID_MASK) | 43 | ((((v) >> 8) << HT_IRQ_HIGH_DEST_ID_SHIFT) & HT_IRQ_HIGH_DEST_ID_MASK) |
44 | 44 | ||
45 | #endif /* ASM_X86__HYPERTRANSPORT_H */ | 45 | #endif /* _ASM_X86_HYPERTRANSPORT_H */ |
diff --git a/arch/x86/include/asm/i387.h b/arch/x86/include/asm/i387.h index 9ba862a4eac0..48f0004db8c9 100644 --- a/arch/x86/include/asm/i387.h +++ b/arch/x86/include/asm/i387.h | |||
@@ -7,8 +7,8 @@ | |||
7 | * x86-64 work by Andi Kleen 2002 | 7 | * x86-64 work by Andi Kleen 2002 |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #ifndef ASM_X86__I387_H | 10 | #ifndef _ASM_X86_I387_H |
11 | #define ASM_X86__I387_H | 11 | #define _ASM_X86_I387_H |
12 | 12 | ||
13 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
14 | #include <linux/kernel_stat.h> | 14 | #include <linux/kernel_stat.h> |
@@ -397,4 +397,4 @@ static inline unsigned short get_fpu_mxcsr(struct task_struct *tsk) | |||
397 | } | 397 | } |
398 | } | 398 | } |
399 | 399 | ||
400 | #endif /* ASM_X86__I387_H */ | 400 | #endif /* _ASM_X86_I387_H */ |
diff --git a/arch/x86/include/asm/i8253.h b/arch/x86/include/asm/i8253.h index 15a5b530044e..1edbf89680fd 100644 --- a/arch/x86/include/asm/i8253.h +++ b/arch/x86/include/asm/i8253.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__I8253_H | 1 | #ifndef _ASM_X86_I8253_H |
2 | #define ASM_X86__I8253_H | 2 | #define _ASM_X86_I8253_H |
3 | 3 | ||
4 | /* i8253A PIT registers */ | 4 | /* i8253A PIT registers */ |
5 | #define PIT_MODE 0x43 | 5 | #define PIT_MODE 0x43 |
@@ -15,4 +15,4 @@ extern void setup_pit_timer(void); | |||
15 | #define inb_pit inb_p | 15 | #define inb_pit inb_p |
16 | #define outb_pit outb_p | 16 | #define outb_pit outb_p |
17 | 17 | ||
18 | #endif /* ASM_X86__I8253_H */ | 18 | #endif /* _ASM_X86_I8253_H */ |
diff --git a/arch/x86/include/asm/i8259.h b/arch/x86/include/asm/i8259.h index 23c1b3baaecd..58d7091eeb1f 100644 --- a/arch/x86/include/asm/i8259.h +++ b/arch/x86/include/asm/i8259.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__I8259_H | 1 | #ifndef _ASM_X86_I8259_H |
2 | #define ASM_X86__I8259_H | 2 | #define _ASM_X86_I8259_H |
3 | 3 | ||
4 | #include <linux/delay.h> | 4 | #include <linux/delay.h> |
5 | 5 | ||
@@ -60,4 +60,4 @@ extern struct irq_chip i8259A_chip; | |||
60 | extern void mask_8259A(void); | 60 | extern void mask_8259A(void); |
61 | extern void unmask_8259A(void); | 61 | extern void unmask_8259A(void); |
62 | 62 | ||
63 | #endif /* ASM_X86__I8259_H */ | 63 | #endif /* _ASM_X86_I8259_H */ |
diff --git a/arch/x86/include/asm/ia32.h b/arch/x86/include/asm/ia32.h index f932f7ad51dd..97989c0e534c 100644 --- a/arch/x86/include/asm/ia32.h +++ b/arch/x86/include/asm/ia32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IA32_H | 1 | #ifndef _ASM_X86_IA32_H |
2 | #define ASM_X86__IA32_H | 2 | #define _ASM_X86_IA32_H |
3 | 3 | ||
4 | 4 | ||
5 | #ifdef CONFIG_IA32_EMULATION | 5 | #ifdef CONFIG_IA32_EMULATION |
@@ -167,4 +167,4 @@ extern void ia32_pick_mmap_layout(struct mm_struct *mm); | |||
167 | 167 | ||
168 | #endif /* !CONFIG_IA32_SUPPORT */ | 168 | #endif /* !CONFIG_IA32_SUPPORT */ |
169 | 169 | ||
170 | #endif /* ASM_X86__IA32_H */ | 170 | #endif /* _ASM_X86_IA32_H */ |
diff --git a/arch/x86/include/asm/ia32_unistd.h b/arch/x86/include/asm/ia32_unistd.h index dbd887d8a5a5..976f6ecd2ce6 100644 --- a/arch/x86/include/asm/ia32_unistd.h +++ b/arch/x86/include/asm/ia32_unistd.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IA32_UNISTD_H | 1 | #ifndef _ASM_X86_IA32_UNISTD_H |
2 | #define ASM_X86__IA32_UNISTD_H | 2 | #define _ASM_X86_IA32_UNISTD_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * This file contains the system call numbers of the ia32 port, | 5 | * This file contains the system call numbers of the ia32 port, |
@@ -15,4 +15,4 @@ | |||
15 | #define __NR_ia32_sigreturn 119 | 15 | #define __NR_ia32_sigreturn 119 |
16 | #define __NR_ia32_rt_sigreturn 173 | 16 | #define __NR_ia32_rt_sigreturn 173 |
17 | 17 | ||
18 | #endif /* ASM_X86__IA32_UNISTD_H */ | 18 | #endif /* _ASM_X86_IA32_UNISTD_H */ |
diff --git a/arch/x86/include/asm/idle.h b/arch/x86/include/asm/idle.h index baa3f783d27d..8ed93761a74f 100644 --- a/arch/x86/include/asm/idle.h +++ b/arch/x86/include/asm/idle.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IDLE_H | 1 | #ifndef _ASM_X86_IDLE_H |
2 | #define ASM_X86__IDLE_H | 2 | #define _ASM_X86_IDLE_H |
3 | 3 | ||
4 | #define IDLE_START 1 | 4 | #define IDLE_START 1 |
5 | #define IDLE_END 2 | 5 | #define IDLE_END 2 |
@@ -12,4 +12,4 @@ void exit_idle(void); | |||
12 | 12 | ||
13 | void c1e_remove_cpu(int cpu); | 13 | void c1e_remove_cpu(int cpu); |
14 | 14 | ||
15 | #endif /* ASM_X86__IDLE_H */ | 15 | #endif /* _ASM_X86_IDLE_H */ |
diff --git a/arch/x86/include/asm/intel_arch_perfmon.h b/arch/x86/include/asm/intel_arch_perfmon.h index 07c03c6c9a16..fa0fd068bc2e 100644 --- a/arch/x86/include/asm/intel_arch_perfmon.h +++ b/arch/x86/include/asm/intel_arch_perfmon.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__INTEL_ARCH_PERFMON_H | 1 | #ifndef _ASM_X86_INTEL_ARCH_PERFMON_H |
2 | #define ASM_X86__INTEL_ARCH_PERFMON_H | 2 | #define _ASM_X86_INTEL_ARCH_PERFMON_H |
3 | 3 | ||
4 | #define MSR_ARCH_PERFMON_PERFCTR0 0xc1 | 4 | #define MSR_ARCH_PERFMON_PERFCTR0 0xc1 |
5 | #define MSR_ARCH_PERFMON_PERFCTR1 0xc2 | 5 | #define MSR_ARCH_PERFMON_PERFCTR1 0xc2 |
@@ -28,4 +28,4 @@ union cpuid10_eax { | |||
28 | unsigned int full; | 28 | unsigned int full; |
29 | }; | 29 | }; |
30 | 30 | ||
31 | #endif /* ASM_X86__INTEL_ARCH_PERFMON_H */ | 31 | #endif /* _ASM_X86_INTEL_ARCH_PERFMON_H */ |
diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index a233f835e0b5..5618a103f395 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IO_H | 1 | #ifndef _ASM_X86_IO_H |
2 | #define ASM_X86__IO_H | 2 | #define _ASM_X86_IO_H |
3 | 3 | ||
4 | #define ARCH_HAS_IOREMAP_WC | 4 | #define ARCH_HAS_IOREMAP_WC |
5 | 5 | ||
@@ -88,4 +88,4 @@ extern void early_iounmap(void *addr, unsigned long size); | |||
88 | extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys); | 88 | extern void __iomem *fix_ioremap(unsigned idx, unsigned long phys); |
89 | 89 | ||
90 | 90 | ||
91 | #endif /* ASM_X86__IO_H */ | 91 | #endif /* _ASM_X86_IO_H */ |
diff --git a/arch/x86/include/asm/io_32.h b/arch/x86/include/asm/io_32.h index 4f7d878bda18..d8e242e1b396 100644 --- a/arch/x86/include/asm/io_32.h +++ b/arch/x86/include/asm/io_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IO_32_H | 1 | #ifndef _ASM_X86_IO_32_H |
2 | #define ASM_X86__IO_32_H | 2 | #define _ASM_X86_IO_32_H |
3 | 3 | ||
4 | #include <linux/string.h> | 4 | #include <linux/string.h> |
5 | #include <linux/compiler.h> | 5 | #include <linux/compiler.h> |
@@ -281,4 +281,4 @@ BUILDIO(b, b, char) | |||
281 | BUILDIO(w, w, short) | 281 | BUILDIO(w, w, short) |
282 | BUILDIO(l, , int) | 282 | BUILDIO(l, , int) |
283 | 283 | ||
284 | #endif /* ASM_X86__IO_32_H */ | 284 | #endif /* _ASM_X86_IO_32_H */ |
diff --git a/arch/x86/include/asm/io_64.h b/arch/x86/include/asm/io_64.h index ee6e086b7dfe..fea325a1122f 100644 --- a/arch/x86/include/asm/io_64.h +++ b/arch/x86/include/asm/io_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IO_64_H | 1 | #ifndef _ASM_X86_IO_64_H |
2 | #define ASM_X86__IO_64_H | 2 | #define _ASM_X86_IO_64_H |
3 | 3 | ||
4 | 4 | ||
5 | /* | 5 | /* |
@@ -241,4 +241,4 @@ void memset_io(volatile void __iomem *a, int b, size_t c); | |||
241 | 241 | ||
242 | #endif /* __KERNEL__ */ | 242 | #endif /* __KERNEL__ */ |
243 | 243 | ||
244 | #endif /* ASM_X86__IO_64_H */ | 244 | #endif /* _ASM_X86_IO_64_H */ |
diff --git a/arch/x86/include/asm/io_apic.h b/arch/x86/include/asm/io_apic.h index d35cbd7aa587..6afd9933a7dd 100644 --- a/arch/x86/include/asm/io_apic.h +++ b/arch/x86/include/asm/io_apic.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IO_APIC_H | 1 | #ifndef _ASM_X86_IO_APIC_H |
2 | #define ASM_X86__IO_APIC_H | 2 | #define _ASM_X86_IO_APIC_H |
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | #include <asm/mpspec.h> | 5 | #include <asm/mpspec.h> |
@@ -201,4 +201,4 @@ static inline int probe_nr_irqs(void) | |||
201 | } | 201 | } |
202 | #endif | 202 | #endif |
203 | 203 | ||
204 | #endif /* ASM_X86__IO_APIC_H */ | 204 | #endif /* _ASM_X86_IO_APIC_H */ |
diff --git a/arch/x86/include/asm/ioctls.h b/arch/x86/include/asm/ioctls.h index 06752a649044..0d5b23b7b06e 100644 --- a/arch/x86/include/asm/ioctls.h +++ b/arch/x86/include/asm/ioctls.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IOCTLS_H | 1 | #ifndef _ASM_X86_IOCTLS_H |
2 | #define ASM_X86__IOCTLS_H | 2 | #define _ASM_X86_IOCTLS_H |
3 | 3 | ||
4 | #include <asm/ioctl.h> | 4 | #include <asm/ioctl.h> |
5 | 5 | ||
@@ -91,4 +91,4 @@ | |||
91 | 91 | ||
92 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ | 92 | #define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ |
93 | 93 | ||
94 | #endif /* ASM_X86__IOCTLS_H */ | 94 | #endif /* _ASM_X86_IOCTLS_H */ |
diff --git a/arch/x86/include/asm/iommu.h b/arch/x86/include/asm/iommu.h index 961e746da977..0c770f8aa002 100644 --- a/arch/x86/include/asm/iommu.h +++ b/arch/x86/include/asm/iommu.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IOMMU_H | 1 | #ifndef _ASM_X86_IOMMU_H |
2 | #define ASM_X86__IOMMU_H | 2 | #define _ASM_X86_IOMMU_H |
3 | 3 | ||
4 | extern void pci_iommu_shutdown(void); | 4 | extern void pci_iommu_shutdown(void); |
5 | extern void no_iommu_init(void); | 5 | extern void no_iommu_init(void); |
@@ -43,4 +43,4 @@ static inline void gart_iommu_hole_init(void) | |||
43 | } | 43 | } |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | #endif /* ASM_X86__IOMMU_H */ | 46 | #endif /* _ASM_X86_IOMMU_H */ |
diff --git a/arch/x86/include/asm/ipcbuf.h b/arch/x86/include/asm/ipcbuf.h index 910304fbdc8f..ee678fd51594 100644 --- a/arch/x86/include/asm/ipcbuf.h +++ b/arch/x86/include/asm/ipcbuf.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IPCBUF_H | 1 | #ifndef _ASM_X86_IPCBUF_H |
2 | #define ASM_X86__IPCBUF_H | 2 | #define _ASM_X86_IPCBUF_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * The ipc64_perm structure for x86 architecture. | 5 | * The ipc64_perm structure for x86 architecture. |
@@ -25,4 +25,4 @@ struct ipc64_perm { | |||
25 | unsigned long __unused2; | 25 | unsigned long __unused2; |
26 | }; | 26 | }; |
27 | 27 | ||
28 | #endif /* ASM_X86__IPCBUF_H */ | 28 | #endif /* _ASM_X86_IPCBUF_H */ |
diff --git a/arch/x86/include/asm/ipi.h b/arch/x86/include/asm/ipi.h index 30a692cfaff8..f89dffb28aa9 100644 --- a/arch/x86/include/asm/ipi.h +++ b/arch/x86/include/asm/ipi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IPI_H | 1 | #ifndef _ASM_X86_IPI_H |
2 | #define ASM_X86__IPI_H | 2 | #define _ASM_X86_IPI_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Copyright 2004 James Cleverdon, IBM. | 5 | * Copyright 2004 James Cleverdon, IBM. |
@@ -135,4 +135,4 @@ static inline void send_IPI_mask_sequence(cpumask_t mask, int vector) | |||
135 | local_irq_restore(flags); | 135 | local_irq_restore(flags); |
136 | } | 136 | } |
137 | 137 | ||
138 | #endif /* ASM_X86__IPI_H */ | 138 | #endif /* _ASM_X86_IPI_H */ |
diff --git a/arch/x86/include/asm/irq.h b/arch/x86/include/asm/irq.h index 1e5f2909c1db..bae0eda95486 100644 --- a/arch/x86/include/asm/irq.h +++ b/arch/x86/include/asm/irq.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IRQ_H | 1 | #ifndef _ASM_X86_IRQ_H |
2 | #define ASM_X86__IRQ_H | 2 | #define _ASM_X86_IRQ_H |
3 | /* | 3 | /* |
4 | * (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar | 4 | * (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar |
5 | * | 5 | * |
@@ -47,4 +47,4 @@ extern void native_init_IRQ(void); | |||
47 | /* Interrupt vector management */ | 47 | /* Interrupt vector management */ |
48 | extern DECLARE_BITMAP(used_vectors, NR_VECTORS); | 48 | extern DECLARE_BITMAP(used_vectors, NR_VECTORS); |
49 | 49 | ||
50 | #endif /* ASM_X86__IRQ_H */ | 50 | #endif /* _ASM_X86_IRQ_H */ |
diff --git a/arch/x86/include/asm/irq_regs_32.h b/arch/x86/include/asm/irq_regs_32.h index 316a3b258871..af2f02d27fc7 100644 --- a/arch/x86/include/asm/irq_regs_32.h +++ b/arch/x86/include/asm/irq_regs_32.h | |||
@@ -4,8 +4,8 @@ | |||
4 | * | 4 | * |
5 | * Jeremy Fitzhardinge <jeremy@goop.org> | 5 | * Jeremy Fitzhardinge <jeremy@goop.org> |
6 | */ | 6 | */ |
7 | #ifndef ASM_X86__IRQ_REGS_32_H | 7 | #ifndef _ASM_X86_IRQ_REGS_32_H |
8 | #define ASM_X86__IRQ_REGS_32_H | 8 | #define _ASM_X86_IRQ_REGS_32_H |
9 | 9 | ||
10 | #include <asm/percpu.h> | 10 | #include <asm/percpu.h> |
11 | 11 | ||
@@ -26,4 +26,4 @@ static inline struct pt_regs *set_irq_regs(struct pt_regs *new_regs) | |||
26 | return old_regs; | 26 | return old_regs; |
27 | } | 27 | } |
28 | 28 | ||
29 | #endif /* ASM_X86__IRQ_REGS_32_H */ | 29 | #endif /* _ASM_X86_IRQ_REGS_32_H */ |
diff --git a/arch/x86/include/asm/irq_vectors.h b/arch/x86/include/asm/irq_vectors.h index a8d065d85f57..d843ed0e9b2e 100644 --- a/arch/x86/include/asm/irq_vectors.h +++ b/arch/x86/include/asm/irq_vectors.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IRQ_VECTORS_H | 1 | #ifndef _ASM_X86_IRQ_VECTORS_H |
2 | #define ASM_X86__IRQ_VECTORS_H | 2 | #define _ASM_X86_IRQ_VECTORS_H |
3 | 3 | ||
4 | #include <linux/threads.h> | 4 | #include <linux/threads.h> |
5 | 5 | ||
@@ -161,4 +161,4 @@ | |||
161 | #define VIC_CPU_BOOT_ERRATA_CPI (VIC_CPI_LEVEL0 + 8) | 161 | #define VIC_CPU_BOOT_ERRATA_CPI (VIC_CPI_LEVEL0 + 8) |
162 | 162 | ||
163 | 163 | ||
164 | #endif /* ASM_X86__IRQ_VECTORS_H */ | 164 | #endif /* _ASM_X86_IRQ_VECTORS_H */ |
diff --git a/arch/x86/include/asm/ist.h b/arch/x86/include/asm/ist.h index 35a2fe9bc921..7e5dff1de0e9 100644 --- a/arch/x86/include/asm/ist.h +++ b/arch/x86/include/asm/ist.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__IST_H | 1 | #ifndef _ASM_X86_IST_H |
2 | #define ASM_X86__IST_H | 2 | #define _ASM_X86_IST_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Include file for the interface to IST BIOS | 5 | * Include file for the interface to IST BIOS |
@@ -31,4 +31,4 @@ struct ist_info { | |||
31 | extern struct ist_info ist_info; | 31 | extern struct ist_info ist_info; |
32 | 32 | ||
33 | #endif /* __KERNEL__ */ | 33 | #endif /* __KERNEL__ */ |
34 | #endif /* ASM_X86__IST_H */ | 34 | #endif /* _ASM_X86_IST_H */ |
diff --git a/arch/x86/include/asm/k8.h b/arch/x86/include/asm/k8.h index 2bbaf4370a55..54c8cc53b24d 100644 --- a/arch/x86/include/asm/k8.h +++ b/arch/x86/include/asm/k8.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__K8_H | 1 | #ifndef _ASM_X86_K8_H |
2 | #define ASM_X86__K8_H | 2 | #define _ASM_X86_K8_H |
3 | 3 | ||
4 | #include <linux/pci.h> | 4 | #include <linux/pci.h> |
5 | 5 | ||
@@ -12,4 +12,4 @@ extern int cache_k8_northbridges(void); | |||
12 | extern void k8_flush_garts(void); | 12 | extern void k8_flush_garts(void); |
13 | extern int k8_scan_nodes(unsigned long start, unsigned long end); | 13 | extern int k8_scan_nodes(unsigned long start, unsigned long end); |
14 | 14 | ||
15 | #endif /* ASM_X86__K8_H */ | 15 | #endif /* _ASM_X86_K8_H */ |
diff --git a/arch/x86/include/asm/kdebug.h b/arch/x86/include/asm/kdebug.h index fbbab66ee9df..fa7c0b974761 100644 --- a/arch/x86/include/asm/kdebug.h +++ b/arch/x86/include/asm/kdebug.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__KDEBUG_H | 1 | #ifndef _ASM_X86_KDEBUG_H |
2 | #define ASM_X86__KDEBUG_H | 2 | #define _ASM_X86_KDEBUG_H |
3 | 3 | ||
4 | #include <linux/notifier.h> | 4 | #include <linux/notifier.h> |
5 | 5 | ||
@@ -34,4 +34,4 @@ extern void show_regs(struct pt_regs *regs); | |||
34 | extern unsigned long oops_begin(void); | 34 | extern unsigned long oops_begin(void); |
35 | extern void oops_end(unsigned long, struct pt_regs *, int signr); | 35 | extern void oops_end(unsigned long, struct pt_regs *, int signr); |
36 | 36 | ||
37 | #endif /* ASM_X86__KDEBUG_H */ | 37 | #endif /* _ASM_X86_KDEBUG_H */ |
diff --git a/arch/x86/include/asm/kexec.h b/arch/x86/include/asm/kexec.h index ea09600d6129..a1f22771a15a 100644 --- a/arch/x86/include/asm/kexec.h +++ b/arch/x86/include/asm/kexec.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__KEXEC_H | 1 | #ifndef _ASM_X86_KEXEC_H |
2 | #define ASM_X86__KEXEC_H | 2 | #define _ASM_X86_KEXEC_H |
3 | 3 | ||
4 | #ifdef CONFIG_X86_32 | 4 | #ifdef CONFIG_X86_32 |
5 | # define PA_CONTROL_PAGE 0 | 5 | # define PA_CONTROL_PAGE 0 |
@@ -172,4 +172,4 @@ relocate_kernel(unsigned long indirection_page, | |||
172 | 172 | ||
173 | #endif /* __ASSEMBLY__ */ | 173 | #endif /* __ASSEMBLY__ */ |
174 | 174 | ||
175 | #endif /* ASM_X86__KEXEC_H */ | 175 | #endif /* _ASM_X86_KEXEC_H */ |
diff --git a/arch/x86/include/asm/kgdb.h b/arch/x86/include/asm/kgdb.h index d283863354de..e6c6c808489f 100644 --- a/arch/x86/include/asm/kgdb.h +++ b/arch/x86/include/asm/kgdb.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__KGDB_H | 1 | #ifndef _ASM_X86_KGDB_H |
2 | #define ASM_X86__KGDB_H | 2 | #define _ASM_X86_KGDB_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Copyright (C) 2001-2004 Amit S. Kale | 5 | * Copyright (C) 2001-2004 Amit S. Kale |
@@ -76,4 +76,4 @@ static inline void arch_kgdb_breakpoint(void) | |||
76 | #define BREAK_INSTR_SIZE 1 | 76 | #define BREAK_INSTR_SIZE 1 |
77 | #define CACHE_FLUSH_IS_SAFE 1 | 77 | #define CACHE_FLUSH_IS_SAFE 1 |
78 | 78 | ||
79 | #endif /* ASM_X86__KGDB_H */ | 79 | #endif /* _ASM_X86_KGDB_H */ |
diff --git a/arch/x86/include/asm/kmap_types.h b/arch/x86/include/asm/kmap_types.h index 89f44493e643..5759c165a5cf 100644 --- a/arch/x86/include/asm/kmap_types.h +++ b/arch/x86/include/asm/kmap_types.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__KMAP_TYPES_H | 1 | #ifndef _ASM_X86_KMAP_TYPES_H |
2 | #define ASM_X86__KMAP_TYPES_H | 2 | #define _ASM_X86_KMAP_TYPES_H |
3 | 3 | ||
4 | #if defined(CONFIG_X86_32) && defined(CONFIG_DEBUG_HIGHMEM) | 4 | #if defined(CONFIG_X86_32) && defined(CONFIG_DEBUG_HIGHMEM) |
5 | # define D(n) __KM_FENCE_##n , | 5 | # define D(n) __KM_FENCE_##n , |
@@ -26,4 +26,4 @@ D(13) KM_TYPE_NR | |||
26 | 26 | ||
27 | #undef D | 27 | #undef D |
28 | 28 | ||
29 | #endif /* ASM_X86__KMAP_TYPES_H */ | 29 | #endif /* _ASM_X86_KMAP_TYPES_H */ |
diff --git a/arch/x86/include/asm/kprobes.h b/arch/x86/include/asm/kprobes.h index 8a0748d01036..4fe681de1e76 100644 --- a/arch/x86/include/asm/kprobes.h +++ b/arch/x86/include/asm/kprobes.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__KPROBES_H | 1 | #ifndef _ASM_X86_KPROBES_H |
2 | #define ASM_X86__KPROBES_H | 2 | #define _ASM_X86_KPROBES_H |
3 | /* | 3 | /* |
4 | * Kernel Probes (KProbes) | 4 | * Kernel Probes (KProbes) |
5 | * | 5 | * |
@@ -85,4 +85,4 @@ struct kprobe_ctlblk { | |||
85 | extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr); | 85 | extern int kprobe_fault_handler(struct pt_regs *regs, int trapnr); |
86 | extern int kprobe_exceptions_notify(struct notifier_block *self, | 86 | extern int kprobe_exceptions_notify(struct notifier_block *self, |
87 | unsigned long val, void *data); | 87 | unsigned long val, void *data); |
88 | #endif /* ASM_X86__KPROBES_H */ | 88 | #endif /* _ASM_X86_KPROBES_H */ |
diff --git a/arch/x86/include/asm/kvm.h b/arch/x86/include/asm/kvm.h index ba0dd791fadf..b95162af0bf6 100644 --- a/arch/x86/include/asm/kvm.h +++ b/arch/x86/include/asm/kvm.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__KVM_H | 1 | #ifndef _ASM_X86_KVM_H |
2 | #define ASM_X86__KVM_H | 2 | #define _ASM_X86_KVM_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * KVM x86 specific structures and definitions | 5 | * KVM x86 specific structures and definitions |
@@ -208,4 +208,4 @@ struct kvm_pit_channel_state { | |||
208 | struct kvm_pit_state { | 208 | struct kvm_pit_state { |
209 | struct kvm_pit_channel_state channels[3]; | 209 | struct kvm_pit_channel_state channels[3]; |
210 | }; | 210 | }; |
211 | #endif /* ASM_X86__KVM_H */ | 211 | #endif /* _ASM_X86_KVM_H */ |
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index 411fb8cfb24e..65679d006337 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h | |||
@@ -8,8 +8,8 @@ | |||
8 | * | 8 | * |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef ASM_X86__KVM_HOST_H | 11 | #ifndef _ASM_X86_KVM_HOST_H |
12 | #define ASM_X86__KVM_HOST_H | 12 | #define _ASM_X86_KVM_HOST_H |
13 | 13 | ||
14 | #include <linux/types.h> | 14 | #include <linux/types.h> |
15 | #include <linux/mm.h> | 15 | #include <linux/mm.h> |
@@ -749,4 +749,4 @@ asmlinkage void kvm_handle_fault_on_reboot(void); | |||
749 | int kvm_unmap_hva(struct kvm *kvm, unsigned long hva); | 749 | int kvm_unmap_hva(struct kvm *kvm, unsigned long hva); |
750 | int kvm_age_hva(struct kvm *kvm, unsigned long hva); | 750 | int kvm_age_hva(struct kvm *kvm, unsigned long hva); |
751 | 751 | ||
752 | #endif /* ASM_X86__KVM_HOST_H */ | 752 | #endif /* _ASM_X86_KVM_HOST_H */ |
diff --git a/arch/x86/include/asm/kvm_para.h b/arch/x86/include/asm/kvm_para.h index 30054fded4fb..b8a3305ae093 100644 --- a/arch/x86/include/asm/kvm_para.h +++ b/arch/x86/include/asm/kvm_para.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__KVM_PARA_H | 1 | #ifndef _ASM_X86_KVM_PARA_H |
2 | #define ASM_X86__KVM_PARA_H | 2 | #define _ASM_X86_KVM_PARA_H |
3 | 3 | ||
4 | /* This CPUID returns the signature 'KVMKVMKVM' in ebx, ecx, and edx. It | 4 | /* This CPUID returns the signature 'KVMKVMKVM' in ebx, ecx, and edx. It |
5 | * should be used to determine that a VM is running under KVM. | 5 | * should be used to determine that a VM is running under KVM. |
@@ -144,4 +144,4 @@ static inline unsigned int kvm_arch_para_features(void) | |||
144 | 144 | ||
145 | #endif | 145 | #endif |
146 | 146 | ||
147 | #endif /* ASM_X86__KVM_PARA_H */ | 147 | #endif /* _ASM_X86_KVM_PARA_H */ |
diff --git a/arch/x86/include/asm/kvm_x86_emulate.h b/arch/x86/include/asm/kvm_x86_emulate.h index e2d9b030c1ac..25179a29f208 100644 --- a/arch/x86/include/asm/kvm_x86_emulate.h +++ b/arch/x86/include/asm/kvm_x86_emulate.h | |||
@@ -8,8 +8,8 @@ | |||
8 | * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4 | 8 | * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4 |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef ASM_X86__KVM_X86_EMULATE_H | 11 | #ifndef _ASM_X86_KVM_X86_EMULATE_H |
12 | #define ASM_X86__KVM_X86_EMULATE_H | 12 | #define _ASM_X86_KVM_X86_EMULATE_H |
13 | 13 | ||
14 | struct x86_emulate_ctxt; | 14 | struct x86_emulate_ctxt; |
15 | 15 | ||
@@ -181,4 +181,4 @@ int x86_decode_insn(struct x86_emulate_ctxt *ctxt, | |||
181 | int x86_emulate_insn(struct x86_emulate_ctxt *ctxt, | 181 | int x86_emulate_insn(struct x86_emulate_ctxt *ctxt, |
182 | struct x86_emulate_ops *ops); | 182 | struct x86_emulate_ops *ops); |
183 | 183 | ||
184 | #endif /* ASM_X86__KVM_X86_EMULATE_H */ | 184 | #endif /* _ASM_X86_KVM_X86_EMULATE_H */ |
diff --git a/arch/x86/include/asm/ldt.h b/arch/x86/include/asm/ldt.h index a5228504d867..46727eb37bfe 100644 --- a/arch/x86/include/asm/ldt.h +++ b/arch/x86/include/asm/ldt.h | |||
@@ -3,8 +3,8 @@ | |||
3 | * | 3 | * |
4 | * Definitions of structures used with the modify_ldt system call. | 4 | * Definitions of structures used with the modify_ldt system call. |
5 | */ | 5 | */ |
6 | #ifndef ASM_X86__LDT_H | 6 | #ifndef _ASM_X86_LDT_H |
7 | #define ASM_X86__LDT_H | 7 | #define _ASM_X86_LDT_H |
8 | 8 | ||
9 | /* Maximum number of LDT entries supported. */ | 9 | /* Maximum number of LDT entries supported. */ |
10 | #define LDT_ENTRIES 8192 | 10 | #define LDT_ENTRIES 8192 |
@@ -37,4 +37,4 @@ struct user_desc { | |||
37 | #define MODIFY_LDT_CONTENTS_CODE 2 | 37 | #define MODIFY_LDT_CONTENTS_CODE 2 |
38 | 38 | ||
39 | #endif /* !__ASSEMBLY__ */ | 39 | #endif /* !__ASSEMBLY__ */ |
40 | #endif /* ASM_X86__LDT_H */ | 40 | #endif /* _ASM_X86_LDT_H */ |
diff --git a/arch/x86/include/asm/lguest.h b/arch/x86/include/asm/lguest.h index 7505e947ed27..d28a507cef39 100644 --- a/arch/x86/include/asm/lguest.h +++ b/arch/x86/include/asm/lguest.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__LGUEST_H | 1 | #ifndef _ASM_X86_LGUEST_H |
2 | #define ASM_X86__LGUEST_H | 2 | #define _ASM_X86_LGUEST_H |
3 | 3 | ||
4 | #define GDT_ENTRY_LGUEST_CS 10 | 4 | #define GDT_ENTRY_LGUEST_CS 10 |
5 | #define GDT_ENTRY_LGUEST_DS 11 | 5 | #define GDT_ENTRY_LGUEST_DS 11 |
@@ -91,4 +91,4 @@ static inline void lguest_set_ts(void) | |||
91 | 91 | ||
92 | #endif /* __ASSEMBLY__ */ | 92 | #endif /* __ASSEMBLY__ */ |
93 | 93 | ||
94 | #endif /* ASM_X86__LGUEST_H */ | 94 | #endif /* _ASM_X86_LGUEST_H */ |
diff --git a/arch/x86/include/asm/lguest_hcall.h b/arch/x86/include/asm/lguest_hcall.h index 8f034ba4b53e..43894428c3c2 100644 --- a/arch/x86/include/asm/lguest_hcall.h +++ b/arch/x86/include/asm/lguest_hcall.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* Architecture specific portion of the lguest hypercalls */ | 1 | /* Architecture specific portion of the lguest hypercalls */ |
2 | #ifndef ASM_X86__LGUEST_HCALL_H | 2 | #ifndef _ASM_X86_LGUEST_HCALL_H |
3 | #define ASM_X86__LGUEST_HCALL_H | 3 | #define _ASM_X86_LGUEST_HCALL_H |
4 | 4 | ||
5 | #define LHCALL_FLUSH_ASYNC 0 | 5 | #define LHCALL_FLUSH_ASYNC 0 |
6 | #define LHCALL_LGUEST_INIT 1 | 6 | #define LHCALL_LGUEST_INIT 1 |
@@ -68,4 +68,4 @@ struct hcall_args { | |||
68 | }; | 68 | }; |
69 | 69 | ||
70 | #endif /* !__ASSEMBLY__ */ | 70 | #endif /* !__ASSEMBLY__ */ |
71 | #endif /* ASM_X86__LGUEST_HCALL_H */ | 71 | #endif /* _ASM_X86_LGUEST_HCALL_H */ |
diff --git a/arch/x86/include/asm/linkage.h b/arch/x86/include/asm/linkage.h index 42d8b62ee8ab..f61ee8f937e4 100644 --- a/arch/x86/include/asm/linkage.h +++ b/arch/x86/include/asm/linkage.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__LINKAGE_H | 1 | #ifndef _ASM_X86_LINKAGE_H |
2 | #define ASM_X86__LINKAGE_H | 2 | #define _ASM_X86_LINKAGE_H |
3 | 3 | ||
4 | #undef notrace | 4 | #undef notrace |
5 | #define notrace __attribute__((no_instrument_function)) | 5 | #define notrace __attribute__((no_instrument_function)) |
@@ -57,5 +57,5 @@ | |||
57 | #define __ALIGN_STR ".align 16,0x90" | 57 | #define __ALIGN_STR ".align 16,0x90" |
58 | #endif | 58 | #endif |
59 | 59 | ||
60 | #endif /* ASM_X86__LINKAGE_H */ | 60 | #endif /* _ASM_X86_LINKAGE_H */ |
61 | 61 | ||
diff --git a/arch/x86/include/asm/local.h b/arch/x86/include/asm/local.h index ae91994fd6c9..47b9b6f19057 100644 --- a/arch/x86/include/asm/local.h +++ b/arch/x86/include/asm/local.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__LOCAL_H | 1 | #ifndef _ASM_X86_LOCAL_H |
2 | #define ASM_X86__LOCAL_H | 2 | #define _ASM_X86_LOCAL_H |
3 | 3 | ||
4 | #include <linux/percpu.h> | 4 | #include <linux/percpu.h> |
5 | 5 | ||
@@ -232,4 +232,4 @@ static inline long local_sub_return(long i, local_t *l) | |||
232 | #define __cpu_local_add(i, l) cpu_local_add((i), (l)) | 232 | #define __cpu_local_add(i, l) cpu_local_add((i), (l)) |
233 | #define __cpu_local_sub(i, l) cpu_local_sub((i), (l)) | 233 | #define __cpu_local_sub(i, l) cpu_local_sub((i), (l)) |
234 | 234 | ||
235 | #endif /* ASM_X86__LOCAL_H */ | 235 | #endif /* _ASM_X86_LOCAL_H */ |
diff --git a/arch/x86/include/asm/mach-default/apm.h b/arch/x86/include/asm/mach-default/apm.h index 2aa61b54fbd5..fc392ec1a578 100644 --- a/arch/x86/include/asm/mach-default/apm.h +++ b/arch/x86/include/asm/mach-default/apm.h | |||
@@ -3,8 +3,8 @@ | |||
3 | * Split out from apm.c by Osamu Tomita <tomita@cinet.co.jp> | 3 | * Split out from apm.c by Osamu Tomita <tomita@cinet.co.jp> |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef ASM_X86__MACH_DEFAULT__APM_H | 6 | #ifndef _ASM_X86_MACH_DEFAULT__APM_H |
7 | #define ASM_X86__MACH_DEFAULT__APM_H | 7 | #define _ASM_X86_MACH_DEFAULT__APM_H |
8 | 8 | ||
9 | #ifdef APM_ZERO_SEGS | 9 | #ifdef APM_ZERO_SEGS |
10 | # define APM_DO_ZERO_SEGS \ | 10 | # define APM_DO_ZERO_SEGS \ |
@@ -70,4 +70,4 @@ static inline u8 apm_bios_call_simple_asm(u32 func, u32 ebx_in, | |||
70 | return error; | 70 | return error; |
71 | } | 71 | } |
72 | 72 | ||
73 | #endif /* ASM_X86__MACH_DEFAULT__APM_H */ | 73 | #endif /* _ASM_X86_MACH_DEFAULT__APM_H */ |
diff --git a/arch/x86/include/asm/mach-default/mach_apic.h b/arch/x86/include/asm/mach-default/mach_apic.h index 3c66f2cdaec1..2ad00eb6deb9 100644 --- a/arch/x86/include/asm/mach-default/mach_apic.h +++ b/arch/x86/include/asm/mach-default/mach_apic.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_DEFAULT__MACH_APIC_H | 1 | #ifndef _ASM_X86_MACH_DEFAULT__MACH_APIC_H |
2 | #define ASM_X86__MACH_DEFAULT__MACH_APIC_H | 2 | #define _ASM_X86_MACH_DEFAULT__MACH_APIC_H |
3 | 3 | ||
4 | #ifdef CONFIG_X86_LOCAL_APIC | 4 | #ifdef CONFIG_X86_LOCAL_APIC |
5 | 5 | ||
@@ -153,4 +153,4 @@ static inline void enable_apic_mode(void) | |||
153 | { | 153 | { |
154 | } | 154 | } |
155 | #endif /* CONFIG_X86_LOCAL_APIC */ | 155 | #endif /* CONFIG_X86_LOCAL_APIC */ |
156 | #endif /* ASM_X86__MACH_DEFAULT__MACH_APIC_H */ | 156 | #endif /* _ASM_X86_MACH_DEFAULT__MACH_APIC_H */ |
diff --git a/arch/x86/include/asm/mach-default/mach_apicdef.h b/arch/x86/include/asm/mach-default/mach_apicdef.h index 0c2d41c41b20..b9feb25bfe6f 100644 --- a/arch/x86/include/asm/mach-default/mach_apicdef.h +++ b/arch/x86/include/asm/mach-default/mach_apicdef.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_DEFAULT__MACH_APICDEF_H | 1 | #ifndef _ASM_X86_MACH_DEFAULT__MACH_APICDEF_H |
2 | #define ASM_X86__MACH_DEFAULT__MACH_APICDEF_H | 2 | #define _ASM_X86_MACH_DEFAULT__MACH_APICDEF_H |
3 | 3 | ||
4 | #include <asm/apic.h> | 4 | #include <asm/apic.h> |
5 | 5 | ||
@@ -21,4 +21,4 @@ static inline unsigned get_apic_id(unsigned long x) | |||
21 | #define GET_APIC_ID(x) get_apic_id(x) | 21 | #define GET_APIC_ID(x) get_apic_id(x) |
22 | #endif | 22 | #endif |
23 | 23 | ||
24 | #endif /* ASM_X86__MACH_DEFAULT__MACH_APICDEF_H */ | 24 | #endif /* _ASM_X86_MACH_DEFAULT__MACH_APICDEF_H */ |
diff --git a/arch/x86/include/asm/mach-default/mach_ipi.h b/arch/x86/include/asm/mach-default/mach_ipi.h index 674bc7e50c35..377dfd8cfc7c 100644 --- a/arch/x86/include/asm/mach-default/mach_ipi.h +++ b/arch/x86/include/asm/mach-default/mach_ipi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_DEFAULT__MACH_IPI_H | 1 | #ifndef _ASM_X86_MACH_DEFAULT__MACH_IPI_H |
2 | #define ASM_X86__MACH_DEFAULT__MACH_IPI_H | 2 | #define _ASM_X86_MACH_DEFAULT__MACH_IPI_H |
3 | 3 | ||
4 | /* Avoid include hell */ | 4 | /* Avoid include hell */ |
5 | #define NMI_VECTOR 0x02 | 5 | #define NMI_VECTOR 0x02 |
@@ -61,4 +61,4 @@ static inline void send_IPI_all(int vector) | |||
61 | } | 61 | } |
62 | #endif | 62 | #endif |
63 | 63 | ||
64 | #endif /* ASM_X86__MACH_DEFAULT__MACH_IPI_H */ | 64 | #endif /* _ASM_X86_MACH_DEFAULT__MACH_IPI_H */ |
diff --git a/arch/x86/include/asm/mach-default/mach_mpparse.h b/arch/x86/include/asm/mach-default/mach_mpparse.h index 9c381f2815ac..028e08b335fb 100644 --- a/arch/x86/include/asm/mach-default/mach_mpparse.h +++ b/arch/x86/include/asm/mach-default/mach_mpparse.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_DEFAULT__MACH_MPPARSE_H | 1 | #ifndef _ASM_X86_MACH_DEFAULT__MACH_MPPARSE_H |
2 | #define ASM_X86__MACH_DEFAULT__MACH_MPPARSE_H | 2 | #define _ASM_X86_MACH_DEFAULT__MACH_MPPARSE_H |
3 | 3 | ||
4 | static inline int mps_oem_check(struct mp_config_table *mpc, char *oem, | 4 | static inline int mps_oem_check(struct mp_config_table *mpc, char *oem, |
5 | char *productid) | 5 | char *productid) |
@@ -14,4 +14,4 @@ static inline int acpi_madt_oem_check(char *oem_id, char *oem_table_id) | |||
14 | } | 14 | } |
15 | 15 | ||
16 | 16 | ||
17 | #endif /* ASM_X86__MACH_DEFAULT__MACH_MPPARSE_H */ | 17 | #endif /* _ASM_X86_MACH_DEFAULT__MACH_MPPARSE_H */ |
diff --git a/arch/x86/include/asm/mach-default/mach_mpspec.h b/arch/x86/include/asm/mach-default/mach_mpspec.h index d77646f011f1..2a9663306857 100644 --- a/arch/x86/include/asm/mach-default/mach_mpspec.h +++ b/arch/x86/include/asm/mach-default/mach_mpspec.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_DEFAULT__MACH_MPSPEC_H | 1 | #ifndef _ASM_X86_MACH_DEFAULT__MACH_MPSPEC_H |
2 | #define ASM_X86__MACH_DEFAULT__MACH_MPSPEC_H | 2 | #define _ASM_X86_MACH_DEFAULT__MACH_MPSPEC_H |
3 | 3 | ||
4 | #define MAX_IRQ_SOURCES 256 | 4 | #define MAX_IRQ_SOURCES 256 |
5 | 5 | ||
@@ -9,4 +9,4 @@ | |||
9 | #define MAX_MP_BUSSES 32 | 9 | #define MAX_MP_BUSSES 32 |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | #endif /* ASM_X86__MACH_DEFAULT__MACH_MPSPEC_H */ | 12 | #endif /* _ASM_X86_MACH_DEFAULT__MACH_MPSPEC_H */ |
diff --git a/arch/x86/include/asm/mach-default/mach_timer.h b/arch/x86/include/asm/mach-default/mach_timer.h index 990b15833834..a075b4675b29 100644 --- a/arch/x86/include/asm/mach-default/mach_timer.h +++ b/arch/x86/include/asm/mach-default/mach_timer.h | |||
@@ -10,8 +10,8 @@ | |||
10 | * directly because of the awkward 8-bit access mechanism of the 82C54 | 10 | * directly because of the awkward 8-bit access mechanism of the 82C54 |
11 | * device. | 11 | * device. |
12 | */ | 12 | */ |
13 | #ifndef ASM_X86__MACH_DEFAULT__MACH_TIMER_H | 13 | #ifndef _ASM_X86_MACH_DEFAULT__MACH_TIMER_H |
14 | #define ASM_X86__MACH_DEFAULT__MACH_TIMER_H | 14 | #define _ASM_X86_MACH_DEFAULT__MACH_TIMER_H |
15 | 15 | ||
16 | #define CALIBRATE_TIME_MSEC 30 /* 30 msecs */ | 16 | #define CALIBRATE_TIME_MSEC 30 /* 30 msecs */ |
17 | #define CALIBRATE_LATCH \ | 17 | #define CALIBRATE_LATCH \ |
@@ -45,4 +45,4 @@ static inline void mach_countup(unsigned long *count_p) | |||
45 | *count_p = count; | 45 | *count_p = count; |
46 | } | 46 | } |
47 | 47 | ||
48 | #endif /* ASM_X86__MACH_DEFAULT__MACH_TIMER_H */ | 48 | #endif /* _ASM_X86_MACH_DEFAULT__MACH_TIMER_H */ |
diff --git a/arch/x86/include/asm/mach-default/mach_traps.h b/arch/x86/include/asm/mach-default/mach_traps.h index ff8778f26b84..d4fb0bc3fe18 100644 --- a/arch/x86/include/asm/mach-default/mach_traps.h +++ b/arch/x86/include/asm/mach-default/mach_traps.h | |||
@@ -2,8 +2,8 @@ | |||
2 | * Machine specific NMI handling for generic. | 2 | * Machine specific NMI handling for generic. |
3 | * Split out from traps.c by Osamu Tomita <tomita@cinet.co.jp> | 3 | * Split out from traps.c by Osamu Tomita <tomita@cinet.co.jp> |
4 | */ | 4 | */ |
5 | #ifndef ASM_X86__MACH_DEFAULT__MACH_TRAPS_H | 5 | #ifndef _ASM_X86_MACH_DEFAULT__MACH_TRAPS_H |
6 | #define ASM_X86__MACH_DEFAULT__MACH_TRAPS_H | 6 | #define _ASM_X86_MACH_DEFAULT__MACH_TRAPS_H |
7 | 7 | ||
8 | #include <asm/mc146818rtc.h> | 8 | #include <asm/mc146818rtc.h> |
9 | 9 | ||
@@ -30,4 +30,4 @@ static inline void reassert_nmi(void) | |||
30 | unlock_cmos(); | 30 | unlock_cmos(); |
31 | } | 31 | } |
32 | 32 | ||
33 | #endif /* ASM_X86__MACH_DEFAULT__MACH_TRAPS_H */ | 33 | #endif /* _ASM_X86_MACH_DEFAULT__MACH_TRAPS_H */ |
diff --git a/arch/x86/include/asm/mach-default/mach_wakecpu.h b/arch/x86/include/asm/mach-default/mach_wakecpu.h index 361b810f5160..d7136fcdd8f3 100644 --- a/arch/x86/include/asm/mach-default/mach_wakecpu.h +++ b/arch/x86/include/asm/mach-default/mach_wakecpu.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_DEFAULT__MACH_WAKECPU_H | 1 | #ifndef _ASM_X86_MACH_DEFAULT__MACH_WAKECPU_H |
2 | #define ASM_X86__MACH_DEFAULT__MACH_WAKECPU_H | 2 | #define _ASM_X86_MACH_DEFAULT__MACH_WAKECPU_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * This file copes with machines that wakeup secondary CPUs by the | 5 | * This file copes with machines that wakeup secondary CPUs by the |
@@ -39,4 +39,4 @@ static inline void restore_NMI_vector(unsigned short *high, unsigned short *low) | |||
39 | #define inquire_remote_apic(apicid) {} | 39 | #define inquire_remote_apic(apicid) {} |
40 | #endif | 40 | #endif |
41 | 41 | ||
42 | #endif /* ASM_X86__MACH_DEFAULT__MACH_WAKECPU_H */ | 42 | #endif /* _ASM_X86_MACH_DEFAULT__MACH_WAKECPU_H */ |
diff --git a/arch/x86/include/asm/mach-generic/gpio.h b/arch/x86/include/asm/mach-generic/gpio.h index 6ce0f7786ef8..5fef612df2c6 100644 --- a/arch/x86/include/asm/mach-generic/gpio.h +++ b/arch/x86/include/asm/mach-generic/gpio.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_GENERIC__GPIO_H | 1 | #ifndef _ASM_X86_MACH_GENERIC__GPIO_H |
2 | #define ASM_X86__MACH_GENERIC__GPIO_H | 2 | #define _ASM_X86_MACH_GENERIC__GPIO_H |
3 | 3 | ||
4 | int gpio_request(unsigned gpio, const char *label); | 4 | int gpio_request(unsigned gpio, const char *label); |
5 | void gpio_free(unsigned gpio); | 5 | void gpio_free(unsigned gpio); |
@@ -12,4 +12,4 @@ int irq_to_gpio(unsigned irq); | |||
12 | 12 | ||
13 | #include <asm-generic/gpio.h> /* cansleep wrappers */ | 13 | #include <asm-generic/gpio.h> /* cansleep wrappers */ |
14 | 14 | ||
15 | #endif /* ASM_X86__MACH_GENERIC__GPIO_H */ | 15 | #endif /* _ASM_X86_MACH_GENERIC__GPIO_H */ |
diff --git a/arch/x86/include/asm/mach-generic/mach_apic.h b/arch/x86/include/asm/mach-generic/mach_apic.h index 5085b52da301..81668b3905a5 100644 --- a/arch/x86/include/asm/mach-generic/mach_apic.h +++ b/arch/x86/include/asm/mach-generic/mach_apic.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_GENERIC__MACH_APIC_H | 1 | #ifndef _ASM_X86_MACH_GENERIC__MACH_APIC_H |
2 | #define ASM_X86__MACH_GENERIC__MACH_APIC_H | 2 | #define _ASM_X86_MACH_GENERIC__MACH_APIC_H |
3 | 3 | ||
4 | #include <asm/genapic.h> | 4 | #include <asm/genapic.h> |
5 | 5 | ||
@@ -30,4 +30,4 @@ | |||
30 | 30 | ||
31 | extern void generic_bigsmp_probe(void); | 31 | extern void generic_bigsmp_probe(void); |
32 | 32 | ||
33 | #endif /* ASM_X86__MACH_GENERIC__MACH_APIC_H */ | 33 | #endif /* _ASM_X86_MACH_GENERIC__MACH_APIC_H */ |
diff --git a/arch/x86/include/asm/mach-generic/mach_apicdef.h b/arch/x86/include/asm/mach-generic/mach_apicdef.h index 1657f38b8f27..b2eaf1e654ab 100644 --- a/arch/x86/include/asm/mach-generic/mach_apicdef.h +++ b/arch/x86/include/asm/mach-generic/mach_apicdef.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_GENERIC__MACH_APICDEF_H | 1 | #ifndef _ASM_X86_MACH_GENERIC__MACH_APICDEF_H |
2 | #define ASM_X86__MACH_GENERIC__MACH_APICDEF_H | 2 | #define _ASM_X86_MACH_GENERIC__MACH_APICDEF_H |
3 | 3 | ||
4 | #ifndef APIC_DEFINITION | 4 | #ifndef APIC_DEFINITION |
5 | #include <asm/genapic.h> | 5 | #include <asm/genapic.h> |
@@ -8,4 +8,4 @@ | |||
8 | #define APIC_ID_MASK (genapic->apic_id_mask) | 8 | #define APIC_ID_MASK (genapic->apic_id_mask) |
9 | #endif | 9 | #endif |
10 | 10 | ||
11 | #endif /* ASM_X86__MACH_GENERIC__MACH_APICDEF_H */ | 11 | #endif /* _ASM_X86_MACH_GENERIC__MACH_APICDEF_H */ |
diff --git a/arch/x86/include/asm/mach-generic/mach_ipi.h b/arch/x86/include/asm/mach-generic/mach_ipi.h index f67433dbd65f..fe430df5536a 100644 --- a/arch/x86/include/asm/mach-generic/mach_ipi.h +++ b/arch/x86/include/asm/mach-generic/mach_ipi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_GENERIC__MACH_IPI_H | 1 | #ifndef _ASM_X86_MACH_GENERIC__MACH_IPI_H |
2 | #define ASM_X86__MACH_GENERIC__MACH_IPI_H | 2 | #define _ASM_X86_MACH_GENERIC__MACH_IPI_H |
3 | 3 | ||
4 | #include <asm/genapic.h> | 4 | #include <asm/genapic.h> |
5 | 5 | ||
@@ -7,4 +7,4 @@ | |||
7 | #define send_IPI_allbutself (genapic->send_IPI_allbutself) | 7 | #define send_IPI_allbutself (genapic->send_IPI_allbutself) |
8 | #define send_IPI_all (genapic->send_IPI_all) | 8 | #define send_IPI_all (genapic->send_IPI_all) |
9 | 9 | ||
10 | #endif /* ASM_X86__MACH_GENERIC__MACH_IPI_H */ | 10 | #endif /* _ASM_X86_MACH_GENERIC__MACH_IPI_H */ |
diff --git a/arch/x86/include/asm/mach-generic/mach_mpparse.h b/arch/x86/include/asm/mach-generic/mach_mpparse.h index 3115564e557c..aed9f856da89 100644 --- a/arch/x86/include/asm/mach-generic/mach_mpparse.h +++ b/arch/x86/include/asm/mach-generic/mach_mpparse.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_GENERIC__MACH_MPPARSE_H | 1 | #ifndef _ASM_X86_MACH_GENERIC__MACH_MPPARSE_H |
2 | #define ASM_X86__MACH_GENERIC__MACH_MPPARSE_H | 2 | #define _ASM_X86_MACH_GENERIC__MACH_MPPARSE_H |
3 | 3 | ||
4 | 4 | ||
5 | extern int mps_oem_check(struct mp_config_table *mpc, char *oem, | 5 | extern int mps_oem_check(struct mp_config_table *mpc, char *oem, |
@@ -7,4 +7,4 @@ extern int mps_oem_check(struct mp_config_table *mpc, char *oem, | |||
7 | 7 | ||
8 | extern int acpi_madt_oem_check(char *oem_id, char *oem_table_id); | 8 | extern int acpi_madt_oem_check(char *oem_id, char *oem_table_id); |
9 | 9 | ||
10 | #endif /* ASM_X86__MACH_GENERIC__MACH_MPPARSE_H */ | 10 | #endif /* _ASM_X86_MACH_GENERIC__MACH_MPPARSE_H */ |
diff --git a/arch/x86/include/asm/mach-generic/mach_mpspec.h b/arch/x86/include/asm/mach-generic/mach_mpspec.h index 6061b153613e..ec615de0574e 100644 --- a/arch/x86/include/asm/mach-generic/mach_mpspec.h +++ b/arch/x86/include/asm/mach-generic/mach_mpspec.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_GENERIC__MACH_MPSPEC_H | 1 | #ifndef _ASM_X86_MACH_GENERIC__MACH_MPSPEC_H |
2 | #define ASM_X86__MACH_GENERIC__MACH_MPSPEC_H | 2 | #define _ASM_X86_MACH_GENERIC__MACH_MPSPEC_H |
3 | 3 | ||
4 | #define MAX_IRQ_SOURCES 256 | 4 | #define MAX_IRQ_SOURCES 256 |
5 | 5 | ||
@@ -9,4 +9,4 @@ | |||
9 | 9 | ||
10 | extern void numaq_mps_oem_check(struct mp_config_table *mpc, char *oem, | 10 | extern void numaq_mps_oem_check(struct mp_config_table *mpc, char *oem, |
11 | char *productid); | 11 | char *productid); |
12 | #endif /* ASM_X86__MACH_GENERIC__MACH_MPSPEC_H */ | 12 | #endif /* _ASM_X86_MACH_GENERIC__MACH_MPSPEC_H */ |
diff --git a/arch/x86/include/asm/mach-rdc321x/gpio.h b/arch/x86/include/asm/mach-rdc321x/gpio.h index 94b6cdf532e2..b21d9174385f 100644 --- a/arch/x86/include/asm/mach-rdc321x/gpio.h +++ b/arch/x86/include/asm/mach-rdc321x/gpio.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MACH_RDC321X__GPIO_H | 1 | #ifndef _ASM_X86_MACH_RDC321X__GPIO_H |
2 | #define ASM_X86__MACH_RDC321X__GPIO_H | 2 | #define _ASM_X86_MACH_RDC321X__GPIO_H |
3 | 3 | ||
4 | #include <linux/kernel.h> | 4 | #include <linux/kernel.h> |
5 | 5 | ||
@@ -57,4 +57,4 @@ static inline int irq_to_gpio(unsigned irq) | |||
57 | /* For cansleep */ | 57 | /* For cansleep */ |
58 | #include <asm-generic/gpio.h> | 58 | #include <asm-generic/gpio.h> |
59 | 59 | ||
60 | #endif /* ASM_X86__MACH_RDC321X__GPIO_H */ | 60 | #endif /* _ASM_X86_MACH_RDC321X__GPIO_H */ |
diff --git a/arch/x86/include/asm/math_emu.h b/arch/x86/include/asm/math_emu.h index 5768d8e95c8c..5a65b107ad58 100644 --- a/arch/x86/include/asm/math_emu.h +++ b/arch/x86/include/asm/math_emu.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MATH_EMU_H | 1 | #ifndef _ASM_X86_MATH_EMU_H |
2 | #define ASM_X86__MATH_EMU_H | 2 | #define _ASM_X86_MATH_EMU_H |
3 | 3 | ||
4 | /* This structure matches the layout of the data saved to the stack | 4 | /* This structure matches the layout of the data saved to the stack |
5 | following a device-not-present interrupt, part of it saved | 5 | following a device-not-present interrupt, part of it saved |
@@ -28,4 +28,4 @@ struct info { | |||
28 | long ___vm86_fs; | 28 | long ___vm86_fs; |
29 | long ___vm86_gs; | 29 | long ___vm86_gs; |
30 | }; | 30 | }; |
31 | #endif /* ASM_X86__MATH_EMU_H */ | 31 | #endif /* _ASM_X86_MATH_EMU_H */ |
diff --git a/arch/x86/include/asm/mc146818rtc.h b/arch/x86/include/asm/mc146818rtc.h index a995f33176cd..01fdf5674e24 100644 --- a/arch/x86/include/asm/mc146818rtc.h +++ b/arch/x86/include/asm/mc146818rtc.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * Machine dependent access functions for RTC registers. | 2 | * Machine dependent access functions for RTC registers. |
3 | */ | 3 | */ |
4 | #ifndef ASM_X86__MC146818RTC_H | 4 | #ifndef _ASM_X86_MC146818RTC_H |
5 | #define ASM_X86__MC146818RTC_H | 5 | #define _ASM_X86_MC146818RTC_H |
6 | 6 | ||
7 | #include <asm/io.h> | 7 | #include <asm/io.h> |
8 | #include <asm/system.h> | 8 | #include <asm/system.h> |
@@ -101,4 +101,4 @@ extern unsigned long mach_get_cmos_time(void); | |||
101 | 101 | ||
102 | #define RTC_IRQ 8 | 102 | #define RTC_IRQ 8 |
103 | 103 | ||
104 | #endif /* ASM_X86__MC146818RTC_H */ | 104 | #endif /* _ASM_X86_MC146818RTC_H */ |
diff --git a/arch/x86/include/asm/mca.h b/arch/x86/include/asm/mca.h index 60d1ed287b13..eedbb6cc1efb 100644 --- a/arch/x86/include/asm/mca.h +++ b/arch/x86/include/asm/mca.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /* -*- mode: c; c-basic-offset: 8 -*- */ | 1 | /* -*- mode: c; c-basic-offset: 8 -*- */ |
2 | 2 | ||
3 | /* Platform specific MCA defines */ | 3 | /* Platform specific MCA defines */ |
4 | #ifndef ASM_X86__MCA_H | 4 | #ifndef _ASM_X86_MCA_H |
5 | #define ASM_X86__MCA_H | 5 | #define _ASM_X86_MCA_H |
6 | 6 | ||
7 | /* Maximal number of MCA slots - actually, some machines have less, but | 7 | /* Maximal number of MCA slots - actually, some machines have less, but |
8 | * they all have sufficient number of POS registers to cover 8. | 8 | * they all have sufficient number of POS registers to cover 8. |
@@ -40,4 +40,4 @@ | |||
40 | */ | 40 | */ |
41 | #define MCA_NUMADAPTERS (MCA_MAX_SLOT_NR+3) | 41 | #define MCA_NUMADAPTERS (MCA_MAX_SLOT_NR+3) |
42 | 42 | ||
43 | #endif /* ASM_X86__MCA_H */ | 43 | #endif /* _ASM_X86_MCA_H */ |
diff --git a/arch/x86/include/asm/mca_dma.h b/arch/x86/include/asm/mca_dma.h index 49f22be237d2..45271aef82dd 100644 --- a/arch/x86/include/asm/mca_dma.h +++ b/arch/x86/include/asm/mca_dma.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MCA_DMA_H | 1 | #ifndef _ASM_X86_MCA_DMA_H |
2 | #define ASM_X86__MCA_DMA_H | 2 | #define _ASM_X86_MCA_DMA_H |
3 | 3 | ||
4 | #include <asm/io.h> | 4 | #include <asm/io.h> |
5 | #include <linux/ioport.h> | 5 | #include <linux/ioport.h> |
@@ -198,4 +198,4 @@ static inline void mca_set_dma_mode(unsigned int dmanr, unsigned int mode) | |||
198 | outb(mode, MCA_DMA_REG_EXE); | 198 | outb(mode, MCA_DMA_REG_EXE); |
199 | } | 199 | } |
200 | 200 | ||
201 | #endif /* ASM_X86__MCA_DMA_H */ | 201 | #endif /* _ASM_X86_MCA_DMA_H */ |
diff --git a/arch/x86/include/asm/mce.h b/arch/x86/include/asm/mce.h index 036133eaf744..1d6e17c2f23a 100644 --- a/arch/x86/include/asm/mce.h +++ b/arch/x86/include/asm/mce.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MCE_H | 1 | #ifndef _ASM_X86_MCE_H |
2 | #define ASM_X86__MCE_H | 2 | #define _ASM_X86_MCE_H |
3 | 3 | ||
4 | #ifdef __x86_64__ | 4 | #ifdef __x86_64__ |
5 | 5 | ||
@@ -127,4 +127,4 @@ extern void restart_mce(void); | |||
127 | 127 | ||
128 | #endif /* __KERNEL__ */ | 128 | #endif /* __KERNEL__ */ |
129 | 129 | ||
130 | #endif /* ASM_X86__MCE_H */ | 130 | #endif /* _ASM_X86_MCE_H */ |
diff --git a/arch/x86/include/asm/microcode.h b/arch/x86/include/asm/microcode.h index 62c793bb70ca..c882664716c1 100644 --- a/arch/x86/include/asm/microcode.h +++ b/arch/x86/include/asm/microcode.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MICROCODE_H | 1 | #ifndef _ASM_X86_MICROCODE_H |
2 | #define ASM_X86__MICROCODE_H | 2 | #define _ASM_X86_MICROCODE_H |
3 | 3 | ||
4 | struct cpu_signature { | 4 | struct cpu_signature { |
5 | unsigned int sig; | 5 | unsigned int sig; |
@@ -44,4 +44,4 @@ static inline struct microcode_ops * __init init_amd_microcode(void) | |||
44 | } | 44 | } |
45 | #endif | 45 | #endif |
46 | 46 | ||
47 | #endif /* ASM_X86__MICROCODE_H */ | 47 | #endif /* _ASM_X86_MICROCODE_H */ |
diff --git a/arch/x86/include/asm/mman.h b/arch/x86/include/asm/mman.h index 4ef28e6de383..90bc4108a4fd 100644 --- a/arch/x86/include/asm/mman.h +++ b/arch/x86/include/asm/mman.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MMAN_H | 1 | #ifndef _ASM_X86_MMAN_H |
2 | #define ASM_X86__MMAN_H | 2 | #define _ASM_X86_MMAN_H |
3 | 3 | ||
4 | #include <asm-generic/mman.h> | 4 | #include <asm-generic/mman.h> |
5 | 5 | ||
@@ -17,4 +17,4 @@ | |||
17 | #define MCL_CURRENT 1 /* lock all current mappings */ | 17 | #define MCL_CURRENT 1 /* lock all current mappings */ |
18 | #define MCL_FUTURE 2 /* lock all future mappings */ | 18 | #define MCL_FUTURE 2 /* lock all future mappings */ |
19 | 19 | ||
20 | #endif /* ASM_X86__MMAN_H */ | 20 | #endif /* _ASM_X86_MMAN_H */ |
diff --git a/arch/x86/include/asm/mmconfig.h b/arch/x86/include/asm/mmconfig.h index fb79b1cf5d07..9b119da1d105 100644 --- a/arch/x86/include/asm/mmconfig.h +++ b/arch/x86/include/asm/mmconfig.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MMCONFIG_H | 1 | #ifndef _ASM_X86_MMCONFIG_H |
2 | #define ASM_X86__MMCONFIG_H | 2 | #define _ASM_X86_MMCONFIG_H |
3 | 3 | ||
4 | #ifdef CONFIG_PCI_MMCONFIG | 4 | #ifdef CONFIG_PCI_MMCONFIG |
5 | extern void __cpuinit fam10h_check_enable_mmcfg(void); | 5 | extern void __cpuinit fam10h_check_enable_mmcfg(void); |
@@ -9,4 +9,4 @@ static inline void fam10h_check_enable_mmcfg(void) { } | |||
9 | static inline void check_enable_amd_mmconf_dmi(void) { } | 9 | static inline void check_enable_amd_mmconf_dmi(void) { } |
10 | #endif | 10 | #endif |
11 | 11 | ||
12 | #endif /* ASM_X86__MMCONFIG_H */ | 12 | #endif /* _ASM_X86_MMCONFIG_H */ |
diff --git a/arch/x86/include/asm/mmu.h b/arch/x86/include/asm/mmu.h index 9d5aff14334a..80a1dee5bea5 100644 --- a/arch/x86/include/asm/mmu.h +++ b/arch/x86/include/asm/mmu.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MMU_H | 1 | #ifndef _ASM_X86_MMU_H |
2 | #define ASM_X86__MMU_H | 2 | #define _ASM_X86_MMU_H |
3 | 3 | ||
4 | #include <linux/spinlock.h> | 4 | #include <linux/spinlock.h> |
5 | #include <linux/mutex.h> | 5 | #include <linux/mutex.h> |
@@ -23,4 +23,4 @@ static inline void leave_mm(int cpu) | |||
23 | } | 23 | } |
24 | #endif | 24 | #endif |
25 | 25 | ||
26 | #endif /* ASM_X86__MMU_H */ | 26 | #endif /* _ASM_X86_MMU_H */ |
diff --git a/arch/x86/include/asm/mmu_context.h b/arch/x86/include/asm/mmu_context.h index 8ec940bfd079..8aeeb3fd73db 100644 --- a/arch/x86/include/asm/mmu_context.h +++ b/arch/x86/include/asm/mmu_context.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MMU_CONTEXT_H | 1 | #ifndef _ASM_X86_MMU_CONTEXT_H |
2 | #define ASM_X86__MMU_CONTEXT_H | 2 | #define _ASM_X86_MMU_CONTEXT_H |
3 | 3 | ||
4 | #include <asm/desc.h> | 4 | #include <asm/desc.h> |
5 | #include <asm/atomic.h> | 5 | #include <asm/atomic.h> |
@@ -34,4 +34,4 @@ do { \ | |||
34 | } while (0); | 34 | } while (0); |
35 | 35 | ||
36 | 36 | ||
37 | #endif /* ASM_X86__MMU_CONTEXT_H */ | 37 | #endif /* _ASM_X86_MMU_CONTEXT_H */ |
diff --git a/arch/x86/include/asm/mmu_context_32.h b/arch/x86/include/asm/mmu_context_32.h index cce6f6e4afd6..8e10015781fb 100644 --- a/arch/x86/include/asm/mmu_context_32.h +++ b/arch/x86/include/asm/mmu_context_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MMU_CONTEXT_32_H | 1 | #ifndef _ASM_X86_MMU_CONTEXT_32_H |
2 | #define ASM_X86__MMU_CONTEXT_32_H | 2 | #define _ASM_X86_MMU_CONTEXT_32_H |
3 | 3 | ||
4 | static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) | 4 | static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) |
5 | { | 5 | { |
@@ -53,4 +53,4 @@ static inline void switch_mm(struct mm_struct *prev, | |||
53 | #define deactivate_mm(tsk, mm) \ | 53 | #define deactivate_mm(tsk, mm) \ |
54 | asm("movl %0,%%gs": :"r" (0)); | 54 | asm("movl %0,%%gs": :"r" (0)); |
55 | 55 | ||
56 | #endif /* ASM_X86__MMU_CONTEXT_32_H */ | 56 | #endif /* _ASM_X86_MMU_CONTEXT_32_H */ |
diff --git a/arch/x86/include/asm/mmu_context_64.h b/arch/x86/include/asm/mmu_context_64.h index 26758673c828..677d36e9540a 100644 --- a/arch/x86/include/asm/mmu_context_64.h +++ b/arch/x86/include/asm/mmu_context_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MMU_CONTEXT_64_H | 1 | #ifndef _ASM_X86_MMU_CONTEXT_64_H |
2 | #define ASM_X86__MMU_CONTEXT_64_H | 2 | #define _ASM_X86_MMU_CONTEXT_64_H |
3 | 3 | ||
4 | #include <asm/pda.h> | 4 | #include <asm/pda.h> |
5 | 5 | ||
@@ -51,4 +51,4 @@ do { \ | |||
51 | asm volatile("movl %0,%%fs"::"r"(0)); \ | 51 | asm volatile("movl %0,%%fs"::"r"(0)); \ |
52 | } while (0) | 52 | } while (0) |
53 | 53 | ||
54 | #endif /* ASM_X86__MMU_CONTEXT_64_H */ | 54 | #endif /* _ASM_X86_MMU_CONTEXT_64_H */ |
diff --git a/arch/x86/include/asm/mmx.h b/arch/x86/include/asm/mmx.h index 2e7299bb3653..5cbf3135b971 100644 --- a/arch/x86/include/asm/mmx.h +++ b/arch/x86/include/asm/mmx.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MMX_H | 1 | #ifndef _ASM_X86_MMX_H |
2 | #define ASM_X86__MMX_H | 2 | #define _ASM_X86_MMX_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * MMX 3Dnow! helper operations | 5 | * MMX 3Dnow! helper operations |
@@ -11,4 +11,4 @@ extern void *_mmx_memcpy(void *to, const void *from, size_t size); | |||
11 | extern void mmx_clear_page(void *page); | 11 | extern void mmx_clear_page(void *page); |
12 | extern void mmx_copy_page(void *to, void *from); | 12 | extern void mmx_copy_page(void *to, void *from); |
13 | 13 | ||
14 | #endif /* ASM_X86__MMX_H */ | 14 | #endif /* _ASM_X86_MMX_H */ |
diff --git a/arch/x86/include/asm/mmzone_32.h b/arch/x86/include/asm/mmzone_32.h index 121b65d61d86..485bdf059ffb 100644 --- a/arch/x86/include/asm/mmzone_32.h +++ b/arch/x86/include/asm/mmzone_32.h | |||
@@ -3,8 +3,8 @@ | |||
3 | * | 3 | * |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #ifndef ASM_X86__MMZONE_32_H | 6 | #ifndef _ASM_X86_MMZONE_32_H |
7 | #define ASM_X86__MMZONE_32_H | 7 | #define _ASM_X86_MMZONE_32_H |
8 | 8 | ||
9 | #include <asm/smp.h> | 9 | #include <asm/smp.h> |
10 | 10 | ||
@@ -131,4 +131,4 @@ static inline int pfn_valid(int pfn) | |||
131 | }) | 131 | }) |
132 | #endif /* CONFIG_NEED_MULTIPLE_NODES */ | 132 | #endif /* CONFIG_NEED_MULTIPLE_NODES */ |
133 | 133 | ||
134 | #endif /* ASM_X86__MMZONE_32_H */ | 134 | #endif /* _ASM_X86_MMZONE_32_H */ |
diff --git a/arch/x86/include/asm/mmzone_64.h b/arch/x86/include/asm/mmzone_64.h index 6480f3333b2a..a5b3817d4b9e 100644 --- a/arch/x86/include/asm/mmzone_64.h +++ b/arch/x86/include/asm/mmzone_64.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /* K8 NUMA support */ | 1 | /* K8 NUMA support */ |
2 | /* Copyright 2002,2003 by Andi Kleen, SuSE Labs */ | 2 | /* Copyright 2002,2003 by Andi Kleen, SuSE Labs */ |
3 | /* 2.5 Version loosely based on the NUMAQ Code by Pat Gaughen. */ | 3 | /* 2.5 Version loosely based on the NUMAQ Code by Pat Gaughen. */ |
4 | #ifndef ASM_X86__MMZONE_64_H | 4 | #ifndef _ASM_X86_MMZONE_64_H |
5 | #define ASM_X86__MMZONE_64_H | 5 | #define _ASM_X86_MMZONE_64_H |
6 | 6 | ||
7 | 7 | ||
8 | #ifdef CONFIG_NUMA | 8 | #ifdef CONFIG_NUMA |
@@ -48,4 +48,4 @@ extern int early_pfn_to_nid(unsigned long pfn); | |||
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | #endif | 50 | #endif |
51 | #endif /* ASM_X86__MMZONE_64_H */ | 51 | #endif /* _ASM_X86_MMZONE_64_H */ |
diff --git a/arch/x86/include/asm/module.h b/arch/x86/include/asm/module.h index 864f2005fc1d..47d62743c4d5 100644 --- a/arch/x86/include/asm/module.h +++ b/arch/x86/include/asm/module.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MODULE_H | 1 | #ifndef _ASM_X86_MODULE_H |
2 | #define ASM_X86__MODULE_H | 2 | #define _ASM_X86_MODULE_H |
3 | 3 | ||
4 | /* x86_32/64 are simple */ | 4 | /* x86_32/64 are simple */ |
5 | struct mod_arch_specific {}; | 5 | struct mod_arch_specific {}; |
@@ -77,4 +77,4 @@ struct mod_arch_specific {}; | |||
77 | # define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_STACKSIZE | 77 | # define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY MODULE_STACKSIZE |
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | #endif /* ASM_X86__MODULE_H */ | 80 | #endif /* _ASM_X86_MODULE_H */ |
diff --git a/arch/x86/include/asm/mpspec.h b/arch/x86/include/asm/mpspec.h index be2241a818f1..91885c28f66b 100644 --- a/arch/x86/include/asm/mpspec.h +++ b/arch/x86/include/asm/mpspec.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MPSPEC_H | 1 | #ifndef _ASM_X86_MPSPEC_H |
2 | #define ASM_X86__MPSPEC_H | 2 | #define _ASM_X86_MPSPEC_H |
3 | 3 | ||
4 | #include <linux/init.h> | 4 | #include <linux/init.h> |
5 | 5 | ||
@@ -142,4 +142,4 @@ static inline void physid_set_mask_of_physid(int physid, physid_mask_t *map) | |||
142 | 142 | ||
143 | extern physid_mask_t phys_cpu_present_map; | 143 | extern physid_mask_t phys_cpu_present_map; |
144 | 144 | ||
145 | #endif /* ASM_X86__MPSPEC_H */ | 145 | #endif /* _ASM_X86_MPSPEC_H */ |
diff --git a/arch/x86/include/asm/mpspec_def.h b/arch/x86/include/asm/mpspec_def.h index 79166b048012..e3ace7d1d35d 100644 --- a/arch/x86/include/asm/mpspec_def.h +++ b/arch/x86/include/asm/mpspec_def.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MPSPEC_DEF_H | 1 | #ifndef _ASM_X86_MPSPEC_DEF_H |
2 | #define ASM_X86__MPSPEC_DEF_H | 2 | #define _ASM_X86_MPSPEC_DEF_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Structure definitions for SMP machines following the | 5 | * Structure definitions for SMP machines following the |
@@ -177,4 +177,4 @@ enum mp_bustype { | |||
177 | MP_BUS_PCI, | 177 | MP_BUS_PCI, |
178 | MP_BUS_MCA, | 178 | MP_BUS_MCA, |
179 | }; | 179 | }; |
180 | #endif /* ASM_X86__MPSPEC_DEF_H */ | 180 | #endif /* _ASM_X86_MPSPEC_DEF_H */ |
diff --git a/arch/x86/include/asm/msgbuf.h b/arch/x86/include/asm/msgbuf.h index 1b538c907a3d..7e4e9481f51c 100644 --- a/arch/x86/include/asm/msgbuf.h +++ b/arch/x86/include/asm/msgbuf.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MSGBUF_H | 1 | #ifndef _ASM_X86_MSGBUF_H |
2 | #define ASM_X86__MSGBUF_H | 2 | #define _ASM_X86_MSGBUF_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * The msqid64_ds structure for i386 architecture. | 5 | * The msqid64_ds structure for i386 architecture. |
@@ -36,4 +36,4 @@ struct msqid64_ds { | |||
36 | unsigned long __unused5; | 36 | unsigned long __unused5; |
37 | }; | 37 | }; |
38 | 38 | ||
39 | #endif /* ASM_X86__MSGBUF_H */ | 39 | #endif /* _ASM_X86_MSGBUF_H */ |
diff --git a/arch/x86/include/asm/msidef.h b/arch/x86/include/asm/msidef.h index ed9190246876..6706b3006f13 100644 --- a/arch/x86/include/asm/msidef.h +++ b/arch/x86/include/asm/msidef.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MSIDEF_H | 1 | #ifndef _ASM_X86_MSIDEF_H |
2 | #define ASM_X86__MSIDEF_H | 2 | #define _ASM_X86_MSIDEF_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Constants for Intel APIC based MSI messages. | 5 | * Constants for Intel APIC based MSI messages. |
@@ -52,4 +52,4 @@ | |||
52 | #define MSI_ADDR_IR_SHV (1 << 3) | 52 | #define MSI_ADDR_IR_SHV (1 << 3) |
53 | #define MSI_ADDR_IR_INDEX1(index) ((index & 0x8000) >> 13) | 53 | #define MSI_ADDR_IR_INDEX1(index) ((index & 0x8000) >> 13) |
54 | #define MSI_ADDR_IR_INDEX2(index) ((index & 0x7fff) << 5) | 54 | #define MSI_ADDR_IR_INDEX2(index) ((index & 0x7fff) << 5) |
55 | #endif /* ASM_X86__MSIDEF_H */ | 55 | #endif /* _ASM_X86_MSIDEF_H */ |
diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h index dabd10f0bbee..e38859d577a1 100644 --- a/arch/x86/include/asm/msr-index.h +++ b/arch/x86/include/asm/msr-index.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MSR_INDEX_H | 1 | #ifndef _ASM_X86_MSR_INDEX_H |
2 | #define ASM_X86__MSR_INDEX_H | 2 | #define _ASM_X86_MSR_INDEX_H |
3 | 3 | ||
4 | /* CPU model specific register (MSR) numbers */ | 4 | /* CPU model specific register (MSR) numbers */ |
5 | 5 | ||
@@ -329,4 +329,4 @@ | |||
329 | #define MSR_IA32_VMX_PROCBASED_CTLS2 0x0000048b | 329 | #define MSR_IA32_VMX_PROCBASED_CTLS2 0x0000048b |
330 | #define MSR_IA32_VMX_EPT_VPID_CAP 0x0000048c | 330 | #define MSR_IA32_VMX_EPT_VPID_CAP 0x0000048c |
331 | 331 | ||
332 | #endif /* ASM_X86__MSR_INDEX_H */ | 332 | #endif /* _ASM_X86_MSR_INDEX_H */ |
diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr.h index 530af1f6389e..46be2fa7ac26 100644 --- a/arch/x86/include/asm/msr.h +++ b/arch/x86/include/asm/msr.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__MSR_H | 1 | #ifndef _ASM_X86_MSR_H |
2 | #define ASM_X86__MSR_H | 2 | #define _ASM_X86_MSR_H |
3 | 3 | ||
4 | #include <asm/msr-index.h> | 4 | #include <asm/msr-index.h> |
5 | 5 | ||
@@ -244,4 +244,4 @@ static inline int wrmsr_safe_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h) | |||
244 | #endif /* __KERNEL__ */ | 244 | #endif /* __KERNEL__ */ |
245 | 245 | ||
246 | 246 | ||
247 | #endif /* ASM_X86__MSR_H */ | 247 | #endif /* _ASM_X86_MSR_H */ |
diff --git a/arch/x86/include/asm/mtrr.h b/arch/x86/include/asm/mtrr.h index 23a7f83da953..7c1e4258b31e 100644 --- a/arch/x86/include/asm/mtrr.h +++ b/arch/x86/include/asm/mtrr.h | |||
@@ -20,8 +20,8 @@ | |||
20 | The postal address is: | 20 | The postal address is: |
21 | Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia. | 21 | Richard Gooch, c/o ATNF, P. O. Box 76, Epping, N.S.W., 2121, Australia. |
22 | */ | 22 | */ |
23 | #ifndef ASM_X86__MTRR_H | 23 | #ifndef _ASM_X86_MTRR_H |
24 | #define ASM_X86__MTRR_H | 24 | #define _ASM_X86_MTRR_H |
25 | 25 | ||
26 | #include <linux/ioctl.h> | 26 | #include <linux/ioctl.h> |
27 | #include <linux/errno.h> | 27 | #include <linux/errno.h> |
@@ -170,4 +170,4 @@ struct mtrr_gentry32 { | |||
170 | 170 | ||
171 | #endif /* __KERNEL__ */ | 171 | #endif /* __KERNEL__ */ |
172 | 172 | ||
173 | #endif /* ASM_X86__MTRR_H */ | 173 | #endif /* _ASM_X86_MTRR_H */ |
diff --git a/arch/x86/include/asm/mutex_32.h b/arch/x86/include/asm/mutex_32.h index 25c16d8ba3c7..03f90c8a5a7c 100644 --- a/arch/x86/include/asm/mutex_32.h +++ b/arch/x86/include/asm/mutex_32.h | |||
@@ -6,8 +6,8 @@ | |||
6 | * | 6 | * |
7 | * Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> | 7 | * Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> |
8 | */ | 8 | */ |
9 | #ifndef ASM_X86__MUTEX_32_H | 9 | #ifndef _ASM_X86_MUTEX_32_H |
10 | #define ASM_X86__MUTEX_32_H | 10 | #define _ASM_X86_MUTEX_32_H |
11 | 11 | ||
12 | #include <asm/alternative.h> | 12 | #include <asm/alternative.h> |
13 | 13 | ||
@@ -122,4 +122,4 @@ static inline int __mutex_fastpath_trylock(atomic_t *count, | |||
122 | #endif | 122 | #endif |
123 | } | 123 | } |
124 | 124 | ||
125 | #endif /* ASM_X86__MUTEX_32_H */ | 125 | #endif /* _ASM_X86_MUTEX_32_H */ |
diff --git a/arch/x86/include/asm/mutex_64.h b/arch/x86/include/asm/mutex_64.h index 918ba21ab9d9..68a87b0f8e29 100644 --- a/arch/x86/include/asm/mutex_64.h +++ b/arch/x86/include/asm/mutex_64.h | |||
@@ -6,8 +6,8 @@ | |||
6 | * | 6 | * |
7 | * Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> | 7 | * Copyright (C) 2004, 2005, 2006 Red Hat, Inc., Ingo Molnar <mingo@redhat.com> |
8 | */ | 8 | */ |
9 | #ifndef ASM_X86__MUTEX_64_H | 9 | #ifndef _ASM_X86_MUTEX_64_H |
10 | #define ASM_X86__MUTEX_64_H | 10 | #define _ASM_X86_MUTEX_64_H |
11 | 11 | ||
12 | /** | 12 | /** |
13 | * __mutex_fastpath_lock - decrement and call function if negative | 13 | * __mutex_fastpath_lock - decrement and call function if negative |
@@ -97,4 +97,4 @@ static inline int __mutex_fastpath_trylock(atomic_t *count, | |||
97 | return 0; | 97 | return 0; |
98 | } | 98 | } |
99 | 99 | ||
100 | #endif /* ASM_X86__MUTEX_64_H */ | 100 | #endif /* _ASM_X86_MUTEX_64_H */ |
diff --git a/arch/x86/include/asm/nmi.h b/arch/x86/include/asm/nmi.h index a53f829a97c5..c45a0a568dff 100644 --- a/arch/x86/include/asm/nmi.h +++ b/arch/x86/include/asm/nmi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__NMI_H | 1 | #ifndef _ASM_X86_NMI_H |
2 | #define ASM_X86__NMI_H | 2 | #define _ASM_X86_NMI_H |
3 | 3 | ||
4 | #include <linux/pm.h> | 4 | #include <linux/pm.h> |
5 | #include <asm/irq.h> | 5 | #include <asm/irq.h> |
@@ -78,4 +78,4 @@ void enable_lapic_nmi_watchdog(void); | |||
78 | void stop_nmi(void); | 78 | void stop_nmi(void); |
79 | void restart_nmi(void); | 79 | void restart_nmi(void); |
80 | 80 | ||
81 | #endif /* ASM_X86__NMI_H */ | 81 | #endif /* _ASM_X86_NMI_H */ |
diff --git a/arch/x86/include/asm/nops.h b/arch/x86/include/asm/nops.h index ae742721ae73..ad2668ee1aa7 100644 --- a/arch/x86/include/asm/nops.h +++ b/arch/x86/include/asm/nops.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__NOPS_H | 1 | #ifndef _ASM_X86_NOPS_H |
2 | #define ASM_X86__NOPS_H | 2 | #define _ASM_X86_NOPS_H |
3 | 3 | ||
4 | /* Define nops for use with alternative() */ | 4 | /* Define nops for use with alternative() */ |
5 | 5 | ||
@@ -115,4 +115,4 @@ | |||
115 | 115 | ||
116 | #define ASM_NOP_MAX 8 | 116 | #define ASM_NOP_MAX 8 |
117 | 117 | ||
118 | #endif /* ASM_X86__NOPS_H */ | 118 | #endif /* _ASM_X86_NOPS_H */ |
diff --git a/arch/x86/include/asm/numa_32.h b/arch/x86/include/asm/numa_32.h index 44cb07855c5b..e9f5db796244 100644 --- a/arch/x86/include/asm/numa_32.h +++ b/arch/x86/include/asm/numa_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__NUMA_32_H | 1 | #ifndef _ASM_X86_NUMA_32_H |
2 | #define ASM_X86__NUMA_32_H | 2 | #define _ASM_X86_NUMA_32_H |
3 | 3 | ||
4 | extern int pxm_to_nid(int pxm); | 4 | extern int pxm_to_nid(int pxm); |
5 | extern void numa_remove_cpu(int cpu); | 5 | extern void numa_remove_cpu(int cpu); |
@@ -8,4 +8,4 @@ extern void numa_remove_cpu(int cpu); | |||
8 | extern void set_highmem_pages_init(void); | 8 | extern void set_highmem_pages_init(void); |
9 | #endif | 9 | #endif |
10 | 10 | ||
11 | #endif /* ASM_X86__NUMA_32_H */ | 11 | #endif /* _ASM_X86_NUMA_32_H */ |
diff --git a/arch/x86/include/asm/numa_64.h b/arch/x86/include/asm/numa_64.h index 15c990395b02..064ed6df4cbe 100644 --- a/arch/x86/include/asm/numa_64.h +++ b/arch/x86/include/asm/numa_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__NUMA_64_H | 1 | #ifndef _ASM_X86_NUMA_64_H |
2 | #define ASM_X86__NUMA_64_H | 2 | #define _ASM_X86_NUMA_64_H |
3 | 3 | ||
4 | #include <linux/nodemask.h> | 4 | #include <linux/nodemask.h> |
5 | #include <asm/apicdef.h> | 5 | #include <asm/apicdef.h> |
@@ -40,4 +40,4 @@ static inline void numa_add_cpu(int cpu, int node) { } | |||
40 | static inline void numa_remove_cpu(int cpu) { } | 40 | static inline void numa_remove_cpu(int cpu) { } |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #endif /* ASM_X86__NUMA_64_H */ | 43 | #endif /* _ASM_X86_NUMA_64_H */ |
diff --git a/arch/x86/include/asm/numaq.h b/arch/x86/include/asm/numaq.h index 124bf7d4b70a..1e8bd30b4c16 100644 --- a/arch/x86/include/asm/numaq.h +++ b/arch/x86/include/asm/numaq.h | |||
@@ -23,8 +23,8 @@ | |||
23 | * Send feedback to <gone@us.ibm.com> | 23 | * Send feedback to <gone@us.ibm.com> |
24 | */ | 24 | */ |
25 | 25 | ||
26 | #ifndef ASM_X86__NUMAQ_H | 26 | #ifndef _ASM_X86_NUMAQ_H |
27 | #define ASM_X86__NUMAQ_H | 27 | #define _ASM_X86_NUMAQ_H |
28 | 28 | ||
29 | #ifdef CONFIG_X86_NUMAQ | 29 | #ifdef CONFIG_X86_NUMAQ |
30 | 30 | ||
@@ -165,5 +165,5 @@ static inline int get_memcfg_numaq(void) | |||
165 | return 0; | 165 | return 0; |
166 | } | 166 | } |
167 | #endif /* CONFIG_X86_NUMAQ */ | 167 | #endif /* CONFIG_X86_NUMAQ */ |
168 | #endif /* ASM_X86__NUMAQ_H */ | 168 | #endif /* _ASM_X86_NUMAQ_H */ |
169 | 169 | ||
diff --git a/arch/x86/include/asm/olpc.h b/arch/x86/include/asm/olpc.h index d7328b1a05c1..834a30295fab 100644 --- a/arch/x86/include/asm/olpc.h +++ b/arch/x86/include/asm/olpc.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* OLPC machine specific definitions */ | 1 | /* OLPC machine specific definitions */ |
2 | 2 | ||
3 | #ifndef ASM_X86__OLPC_H | 3 | #ifndef _ASM_X86_OLPC_H |
4 | #define ASM_X86__OLPC_H | 4 | #define _ASM_X86_OLPC_H |
5 | 5 | ||
6 | #include <asm/geode.h> | 6 | #include <asm/geode.h> |
7 | 7 | ||
@@ -129,4 +129,4 @@ extern int olpc_ec_mask_unset(uint8_t bits); | |||
129 | #define OLPC_GPIO_LID geode_gpio(26) | 129 | #define OLPC_GPIO_LID geode_gpio(26) |
130 | #define OLPC_GPIO_ECSCI geode_gpio(27) | 130 | #define OLPC_GPIO_ECSCI geode_gpio(27) |
131 | 131 | ||
132 | #endif /* ASM_X86__OLPC_H */ | 132 | #endif /* _ASM_X86_OLPC_H */ |
diff --git a/arch/x86/include/asm/page.h b/arch/x86/include/asm/page.h index d4f1d5791fc1..e9873a2e8695 100644 --- a/arch/x86/include/asm/page.h +++ b/arch/x86/include/asm/page.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PAGE_H | 1 | #ifndef _ASM_X86_PAGE_H |
2 | #define ASM_X86__PAGE_H | 2 | #define _ASM_X86_PAGE_H |
3 | 3 | ||
4 | #include <linux/const.h> | 4 | #include <linux/const.h> |
5 | 5 | ||
@@ -206,4 +206,4 @@ extern bool __virt_addr_valid(unsigned long kaddr); | |||
206 | #define __HAVE_ARCH_GATE_AREA 1 | 206 | #define __HAVE_ARCH_GATE_AREA 1 |
207 | 207 | ||
208 | #endif /* __KERNEL__ */ | 208 | #endif /* __KERNEL__ */ |
209 | #endif /* ASM_X86__PAGE_H */ | 209 | #endif /* _ASM_X86_PAGE_H */ |
diff --git a/arch/x86/include/asm/page_32.h b/arch/x86/include/asm/page_32.h index bdf5dba4cfb0..bcde0d7b4325 100644 --- a/arch/x86/include/asm/page_32.h +++ b/arch/x86/include/asm/page_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PAGE_32_H | 1 | #ifndef _ASM_X86_PAGE_32_H |
2 | #define ASM_X86__PAGE_32_H | 2 | #define _ASM_X86_PAGE_32_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * This handles the memory map. | 5 | * This handles the memory map. |
@@ -133,4 +133,4 @@ static inline void copy_page(void *to, void *from) | |||
133 | #endif /* CONFIG_X86_3DNOW */ | 133 | #endif /* CONFIG_X86_3DNOW */ |
134 | #endif /* !__ASSEMBLY__ */ | 134 | #endif /* !__ASSEMBLY__ */ |
135 | 135 | ||
136 | #endif /* ASM_X86__PAGE_32_H */ | 136 | #endif /* _ASM_X86_PAGE_32_H */ |
diff --git a/arch/x86/include/asm/page_64.h b/arch/x86/include/asm/page_64.h index 49380b8c7e25..5ebca29f44f0 100644 --- a/arch/x86/include/asm/page_64.h +++ b/arch/x86/include/asm/page_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PAGE_64_H | 1 | #ifndef _ASM_X86_PAGE_64_H |
2 | #define ASM_X86__PAGE_64_H | 2 | #define _ASM_X86_PAGE_64_H |
3 | 3 | ||
4 | #define PAGETABLE_LEVELS 4 | 4 | #define PAGETABLE_LEVELS 4 |
5 | 5 | ||
@@ -102,4 +102,4 @@ extern void init_extra_mapping_wb(unsigned long phys, unsigned long size); | |||
102 | #endif | 102 | #endif |
103 | 103 | ||
104 | 104 | ||
105 | #endif /* ASM_X86__PAGE_64_H */ | 105 | #endif /* _ASM_X86_PAGE_64_H */ |
diff --git a/arch/x86/include/asm/param.h b/arch/x86/include/asm/param.h index 0009cfb11a5f..6f0d0422f4ca 100644 --- a/arch/x86/include/asm/param.h +++ b/arch/x86/include/asm/param.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PARAM_H | 1 | #ifndef _ASM_X86_PARAM_H |
2 | #define ASM_X86__PARAM_H | 2 | #define _ASM_X86_PARAM_H |
3 | 3 | ||
4 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
5 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ | 5 | # define HZ CONFIG_HZ /* Internal kernel timer frequency */ |
@@ -19,4 +19,4 @@ | |||
19 | 19 | ||
20 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ | 20 | #define MAXHOSTNAMELEN 64 /* max length of hostname */ |
21 | 21 | ||
22 | #endif /* ASM_X86__PARAM_H */ | 22 | #endif /* _ASM_X86_PARAM_H */ |
diff --git a/arch/x86/include/asm/paravirt.h b/arch/x86/include/asm/paravirt.h index 8d6ae2f760d0..ba3e2ff6aedc 100644 --- a/arch/x86/include/asm/paravirt.h +++ b/arch/x86/include/asm/paravirt.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PARAVIRT_H | 1 | #ifndef _ASM_X86_PARAVIRT_H |
2 | #define ASM_X86__PARAVIRT_H | 2 | #define _ASM_X86_PARAVIRT_H |
3 | /* Various instructions on x86 need to be replaced for | 3 | /* Various instructions on x86 need to be replaced for |
4 | * para-virtualization: those hooks are defined here. */ | 4 | * para-virtualization: those hooks are defined here. */ |
5 | 5 | ||
@@ -1647,4 +1647,4 @@ static inline unsigned long __raw_local_irq_save(void) | |||
1647 | 1647 | ||
1648 | #endif /* __ASSEMBLY__ */ | 1648 | #endif /* __ASSEMBLY__ */ |
1649 | #endif /* CONFIG_PARAVIRT */ | 1649 | #endif /* CONFIG_PARAVIRT */ |
1650 | #endif /* ASM_X86__PARAVIRT_H */ | 1650 | #endif /* _ASM_X86_PARAVIRT_H */ |
diff --git a/arch/x86/include/asm/parport.h b/arch/x86/include/asm/parport.h index 2e3dda4dc3d9..3c4ffeb467e9 100644 --- a/arch/x86/include/asm/parport.h +++ b/arch/x86/include/asm/parport.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PARPORT_H | 1 | #ifndef _ASM_X86_PARPORT_H |
2 | #define ASM_X86__PARPORT_H | 2 | #define _ASM_X86_PARPORT_H |
3 | 3 | ||
4 | static int __devinit parport_pc_find_isa_ports(int autoirq, int autodma); | 4 | static int __devinit parport_pc_find_isa_ports(int autoirq, int autodma); |
5 | static int __devinit parport_pc_find_nonpci_ports(int autoirq, int autodma) | 5 | static int __devinit parport_pc_find_nonpci_ports(int autoirq, int autodma) |
@@ -7,4 +7,4 @@ static int __devinit parport_pc_find_nonpci_ports(int autoirq, int autodma) | |||
7 | return parport_pc_find_isa_ports(autoirq, autodma); | 7 | return parport_pc_find_isa_ports(autoirq, autodma); |
8 | } | 8 | } |
9 | 9 | ||
10 | #endif /* ASM_X86__PARPORT_H */ | 10 | #endif /* _ASM_X86_PARPORT_H */ |
diff --git a/arch/x86/include/asm/pat.h b/arch/x86/include/asm/pat.h index 482c3e3f9879..b8493b3b9890 100644 --- a/arch/x86/include/asm/pat.h +++ b/arch/x86/include/asm/pat.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PAT_H | 1 | #ifndef _ASM_X86_PAT_H |
2 | #define ASM_X86__PAT_H | 2 | #define _ASM_X86_PAT_H |
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | 5 | ||
@@ -19,4 +19,4 @@ extern int free_memtype(u64 start, u64 end); | |||
19 | 19 | ||
20 | extern void pat_disable(char *reason); | 20 | extern void pat_disable(char *reason); |
21 | 21 | ||
22 | #endif /* ASM_X86__PAT_H */ | 22 | #endif /* _ASM_X86_PAT_H */ |
diff --git a/arch/x86/include/asm/pci-direct.h b/arch/x86/include/asm/pci-direct.h index da42be07b690..b1e7a45d868a 100644 --- a/arch/x86/include/asm/pci-direct.h +++ b/arch/x86/include/asm/pci-direct.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PCI_DIRECT_H | 1 | #ifndef _ASM_X86_PCI_DIRECT_H |
2 | #define ASM_X86__PCI_DIRECT_H | 2 | #define _ASM_X86_PCI_DIRECT_H |
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | 5 | ||
@@ -18,4 +18,4 @@ extern int early_pci_allowed(void); | |||
18 | extern unsigned int pci_early_dump_regs; | 18 | extern unsigned int pci_early_dump_regs; |
19 | extern void early_dump_pci_device(u8 bus, u8 slot, u8 func); | 19 | extern void early_dump_pci_device(u8 bus, u8 slot, u8 func); |
20 | extern void early_dump_pci_devices(void); | 20 | extern void early_dump_pci_devices(void); |
21 | #endif /* ASM_X86__PCI_DIRECT_H */ | 21 | #endif /* _ASM_X86_PCI_DIRECT_H */ |
diff --git a/arch/x86/include/asm/pci.h b/arch/x86/include/asm/pci.h index 602583192991..875b38edf193 100644 --- a/arch/x86/include/asm/pci.h +++ b/arch/x86/include/asm/pci.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PCI_H | 1 | #ifndef _ASM_X86_PCI_H |
2 | #define ASM_X86__PCI_H | 2 | #define _ASM_X86_PCI_H |
3 | 3 | ||
4 | #include <linux/mm.h> /* for struct page */ | 4 | #include <linux/mm.h> /* for struct page */ |
5 | #include <linux/types.h> | 5 | #include <linux/types.h> |
@@ -111,4 +111,4 @@ static inline cpumask_t __pcibus_to_cpumask(struct pci_bus *bus) | |||
111 | } | 111 | } |
112 | #endif | 112 | #endif |
113 | 113 | ||
114 | #endif /* ASM_X86__PCI_H */ | 114 | #endif /* _ASM_X86_PCI_H */ |
diff --git a/arch/x86/include/asm/pci_32.h b/arch/x86/include/asm/pci_32.h index 3f2288207c0c..6f1213a6ef4f 100644 --- a/arch/x86/include/asm/pci_32.h +++ b/arch/x86/include/asm/pci_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PCI_32_H | 1 | #ifndef _ASM_X86_PCI_32_H |
2 | #define ASM_X86__PCI_32_H | 2 | #define _ASM_X86_PCI_32_H |
3 | 3 | ||
4 | 4 | ||
5 | #ifdef __KERNEL__ | 5 | #ifdef __KERNEL__ |
@@ -31,4 +31,4 @@ struct pci_dev; | |||
31 | #endif /* __KERNEL__ */ | 31 | #endif /* __KERNEL__ */ |
32 | 32 | ||
33 | 33 | ||
34 | #endif /* ASM_X86__PCI_32_H */ | 34 | #endif /* _ASM_X86_PCI_32_H */ |
diff --git a/arch/x86/include/asm/pci_64.h b/arch/x86/include/asm/pci_64.h index f72e12d5770e..5b28995d664e 100644 --- a/arch/x86/include/asm/pci_64.h +++ b/arch/x86/include/asm/pci_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PCI_64_H | 1 | #ifndef _ASM_X86_PCI_64_H |
2 | #define ASM_X86__PCI_64_H | 2 | #define _ASM_X86_PCI_64_H |
3 | 3 | ||
4 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
5 | 5 | ||
@@ -63,4 +63,4 @@ extern void pci_iommu_alloc(void); | |||
63 | 63 | ||
64 | #endif /* __KERNEL__ */ | 64 | #endif /* __KERNEL__ */ |
65 | 65 | ||
66 | #endif /* ASM_X86__PCI_64_H */ | 66 | #endif /* _ASM_X86_PCI_64_H */ |
diff --git a/arch/x86/include/asm/pda.h b/arch/x86/include/asm/pda.h index 80860afffbdb..2fbfff88df37 100644 --- a/arch/x86/include/asm/pda.h +++ b/arch/x86/include/asm/pda.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PDA_H | 1 | #ifndef _ASM_X86_PDA_H |
2 | #define ASM_X86__PDA_H | 2 | #define _ASM_X86_PDA_H |
3 | 3 | ||
4 | #ifndef __ASSEMBLY__ | 4 | #ifndef __ASSEMBLY__ |
5 | #include <linux/stddef.h> | 5 | #include <linux/stddef.h> |
@@ -134,4 +134,4 @@ do { \ | |||
134 | 134 | ||
135 | #define PDA_STACKOFFSET (5*8) | 135 | #define PDA_STACKOFFSET (5*8) |
136 | 136 | ||
137 | #endif /* ASM_X86__PDA_H */ | 137 | #endif /* _ASM_X86_PDA_H */ |
diff --git a/arch/x86/include/asm/percpu.h b/arch/x86/include/asm/percpu.h index e10a1d0678cf..ece72053ba63 100644 --- a/arch/x86/include/asm/percpu.h +++ b/arch/x86/include/asm/percpu.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PERCPU_H | 1 | #ifndef _ASM_X86_PERCPU_H |
2 | #define ASM_X86__PERCPU_H | 2 | #define _ASM_X86_PERCPU_H |
3 | 3 | ||
4 | #ifdef CONFIG_X86_64 | 4 | #ifdef CONFIG_X86_64 |
5 | #include <linux/compiler.h> | 5 | #include <linux/compiler.h> |
@@ -215,4 +215,4 @@ do { \ | |||
215 | 215 | ||
216 | #endif /* !CONFIG_SMP */ | 216 | #endif /* !CONFIG_SMP */ |
217 | 217 | ||
218 | #endif /* ASM_X86__PERCPU_H */ | 218 | #endif /* _ASM_X86_PERCPU_H */ |
diff --git a/arch/x86/include/asm/pgalloc.h b/arch/x86/include/asm/pgalloc.h index 3cd23adedae8..cb7c151a8bff 100644 --- a/arch/x86/include/asm/pgalloc.h +++ b/arch/x86/include/asm/pgalloc.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PGALLOC_H | 1 | #ifndef _ASM_X86_PGALLOC_H |
2 | #define ASM_X86__PGALLOC_H | 2 | #define _ASM_X86_PGALLOC_H |
3 | 3 | ||
4 | #include <linux/threads.h> | 4 | #include <linux/threads.h> |
5 | #include <linux/mm.h> /* for struct page */ | 5 | #include <linux/mm.h> /* for struct page */ |
@@ -111,4 +111,4 @@ extern void __pud_free_tlb(struct mmu_gather *tlb, pud_t *pud); | |||
111 | #endif /* PAGETABLE_LEVELS > 3 */ | 111 | #endif /* PAGETABLE_LEVELS > 3 */ |
112 | #endif /* PAGETABLE_LEVELS > 2 */ | 112 | #endif /* PAGETABLE_LEVELS > 2 */ |
113 | 113 | ||
114 | #endif /* ASM_X86__PGALLOC_H */ | 114 | #endif /* _ASM_X86_PGALLOC_H */ |
diff --git a/arch/x86/include/asm/pgtable-2level-defs.h b/arch/x86/include/asm/pgtable-2level-defs.h index 7ec48f4e5347..d77db8990eaa 100644 --- a/arch/x86/include/asm/pgtable-2level-defs.h +++ b/arch/x86/include/asm/pgtable-2level-defs.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PGTABLE_2LEVEL_DEFS_H | 1 | #ifndef _ASM_X86_PGTABLE_2LEVEL_DEFS_H |
2 | #define ASM_X86__PGTABLE_2LEVEL_DEFS_H | 2 | #define _ASM_X86_PGTABLE_2LEVEL_DEFS_H |
3 | 3 | ||
4 | #define SHARED_KERNEL_PMD 0 | 4 | #define SHARED_KERNEL_PMD 0 |
5 | 5 | ||
@@ -17,4 +17,4 @@ | |||
17 | 17 | ||
18 | #define PTRS_PER_PTE 1024 | 18 | #define PTRS_PER_PTE 1024 |
19 | 19 | ||
20 | #endif /* ASM_X86__PGTABLE_2LEVEL_DEFS_H */ | 20 | #endif /* _ASM_X86_PGTABLE_2LEVEL_DEFS_H */ |
diff --git a/arch/x86/include/asm/pgtable-2level.h b/arch/x86/include/asm/pgtable-2level.h index 81762081dcd8..b17edfd23628 100644 --- a/arch/x86/include/asm/pgtable-2level.h +++ b/arch/x86/include/asm/pgtable-2level.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PGTABLE_2LEVEL_H | 1 | #ifndef _ASM_X86_PGTABLE_2LEVEL_H |
2 | #define ASM_X86__PGTABLE_2LEVEL_H | 2 | #define _ASM_X86_PGTABLE_2LEVEL_H |
3 | 3 | ||
4 | #define pte_ERROR(e) \ | 4 | #define pte_ERROR(e) \ |
5 | printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte_low) | 5 | printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte_low) |
@@ -76,4 +76,4 @@ static inline pte_t native_ptep_get_and_clear(pte_t *xp) | |||
76 | #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low }) | 76 | #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low }) |
77 | #define __swp_entry_to_pte(x) ((pte_t) { .pte = (x).val }) | 77 | #define __swp_entry_to_pte(x) ((pte_t) { .pte = (x).val }) |
78 | 78 | ||
79 | #endif /* ASM_X86__PGTABLE_2LEVEL_H */ | 79 | #endif /* _ASM_X86_PGTABLE_2LEVEL_H */ |
diff --git a/arch/x86/include/asm/pgtable-3level-defs.h b/arch/x86/include/asm/pgtable-3level-defs.h index c05fe6ff3720..62561367653c 100644 --- a/arch/x86/include/asm/pgtable-3level-defs.h +++ b/arch/x86/include/asm/pgtable-3level-defs.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PGTABLE_3LEVEL_DEFS_H | 1 | #ifndef _ASM_X86_PGTABLE_3LEVEL_DEFS_H |
2 | #define ASM_X86__PGTABLE_3LEVEL_DEFS_H | 2 | #define _ASM_X86_PGTABLE_3LEVEL_DEFS_H |
3 | 3 | ||
4 | #ifdef CONFIG_PARAVIRT | 4 | #ifdef CONFIG_PARAVIRT |
5 | #define SHARED_KERNEL_PMD (pv_info.shared_kernel_pmd) | 5 | #define SHARED_KERNEL_PMD (pv_info.shared_kernel_pmd) |
@@ -25,4 +25,4 @@ | |||
25 | */ | 25 | */ |
26 | #define PTRS_PER_PTE 512 | 26 | #define PTRS_PER_PTE 512 |
27 | 27 | ||
28 | #endif /* ASM_X86__PGTABLE_3LEVEL_DEFS_H */ | 28 | #endif /* _ASM_X86_PGTABLE_3LEVEL_DEFS_H */ |
diff --git a/arch/x86/include/asm/pgtable-3level.h b/arch/x86/include/asm/pgtable-3level.h index 75f4276b5ddb..fb16cec702e4 100644 --- a/arch/x86/include/asm/pgtable-3level.h +++ b/arch/x86/include/asm/pgtable-3level.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PGTABLE_3LEVEL_H | 1 | #ifndef _ASM_X86_PGTABLE_3LEVEL_H |
2 | #define ASM_X86__PGTABLE_3LEVEL_H | 2 | #define _ASM_X86_PGTABLE_3LEVEL_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Intel Physical Address Extension (PAE) Mode - three-level page | 5 | * Intel Physical Address Extension (PAE) Mode - three-level page |
@@ -172,4 +172,4 @@ static inline int pte_none(pte_t pte) | |||
172 | #define __pte_to_swp_entry(pte) ((swp_entry_t){ (pte).pte_high }) | 172 | #define __pte_to_swp_entry(pte) ((swp_entry_t){ (pte).pte_high }) |
173 | #define __swp_entry_to_pte(x) ((pte_t){ { .pte_high = (x).val } }) | 173 | #define __swp_entry_to_pte(x) ((pte_t){ { .pte_high = (x).val } }) |
174 | 174 | ||
175 | #endif /* ASM_X86__PGTABLE_3LEVEL_H */ | 175 | #endif /* _ASM_X86_PGTABLE_3LEVEL_H */ |
diff --git a/arch/x86/include/asm/pgtable.h b/arch/x86/include/asm/pgtable.h index 88a53b1a17f0..fb7d1e9985b5 100644 --- a/arch/x86/include/asm/pgtable.h +++ b/arch/x86/include/asm/pgtable.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PGTABLE_H | 1 | #ifndef _ASM_X86_PGTABLE_H |
2 | #define ASM_X86__PGTABLE_H | 2 | #define _ASM_X86_PGTABLE_H |
3 | 3 | ||
4 | #define FIRST_USER_ADDRESS 0 | 4 | #define FIRST_USER_ADDRESS 0 |
5 | 5 | ||
@@ -558,4 +558,4 @@ static inline void clone_pgd_range(pgd_t *dst, pgd_t *src, int count) | |||
558 | #include <asm-generic/pgtable.h> | 558 | #include <asm-generic/pgtable.h> |
559 | #endif /* __ASSEMBLY__ */ | 559 | #endif /* __ASSEMBLY__ */ |
560 | 560 | ||
561 | #endif /* ASM_X86__PGTABLE_H */ | 561 | #endif /* _ASM_X86_PGTABLE_H */ |
diff --git a/arch/x86/include/asm/pgtable_32.h b/arch/x86/include/asm/pgtable_32.h index 8de702dc7d62..f9d5889b336b 100644 --- a/arch/x86/include/asm/pgtable_32.h +++ b/arch/x86/include/asm/pgtable_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PGTABLE_32_H | 1 | #ifndef _ASM_X86_PGTABLE_32_H |
2 | #define ASM_X86__PGTABLE_32_H | 2 | #define _ASM_X86_PGTABLE_32_H |
3 | 3 | ||
4 | 4 | ||
5 | /* | 5 | /* |
@@ -188,4 +188,4 @@ do { \ | |||
188 | #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ | 188 | #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ |
189 | remap_pfn_range(vma, vaddr, pfn, size, prot) | 189 | remap_pfn_range(vma, vaddr, pfn, size, prot) |
190 | 190 | ||
191 | #endif /* ASM_X86__PGTABLE_32_H */ | 191 | #endif /* _ASM_X86_PGTABLE_32_H */ |
diff --git a/arch/x86/include/asm/pgtable_64.h b/arch/x86/include/asm/pgtable_64.h index fde9770e53d1..545a0e042bb2 100644 --- a/arch/x86/include/asm/pgtable_64.h +++ b/arch/x86/include/asm/pgtable_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PGTABLE_64_H | 1 | #ifndef _ASM_X86_PGTABLE_64_H |
2 | #define ASM_X86__PGTABLE_64_H | 2 | #define _ASM_X86_PGTABLE_64_H |
3 | 3 | ||
4 | #include <linux/const.h> | 4 | #include <linux/const.h> |
5 | #ifndef __ASSEMBLY__ | 5 | #ifndef __ASSEMBLY__ |
@@ -282,4 +282,4 @@ extern void cleanup_highmap(void); | |||
282 | #define __HAVE_ARCH_PTE_SAME | 282 | #define __HAVE_ARCH_PTE_SAME |
283 | #endif /* !__ASSEMBLY__ */ | 283 | #endif /* !__ASSEMBLY__ */ |
284 | 284 | ||
285 | #endif /* ASM_X86__PGTABLE_64_H */ | 285 | #endif /* _ASM_X86_PGTABLE_64_H */ |
diff --git a/arch/x86/include/asm/posix_types_32.h b/arch/x86/include/asm/posix_types_32.h index 70cf2bb05939..f7d9adf82e53 100644 --- a/arch/x86/include/asm/posix_types_32.h +++ b/arch/x86/include/asm/posix_types_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__POSIX_TYPES_32_H | 1 | #ifndef _ASM_X86_POSIX_TYPES_32_H |
2 | #define ASM_X86__POSIX_TYPES_32_H | 2 | #define _ASM_X86_POSIX_TYPES_32_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * This file is generally used by user-level software, so you need to | 5 | * This file is generally used by user-level software, so you need to |
@@ -82,4 +82,4 @@ do { \ | |||
82 | 82 | ||
83 | #endif /* defined(__KERNEL__) */ | 83 | #endif /* defined(__KERNEL__) */ |
84 | 84 | ||
85 | #endif /* ASM_X86__POSIX_TYPES_32_H */ | 85 | #endif /* _ASM_X86_POSIX_TYPES_32_H */ |
diff --git a/arch/x86/include/asm/posix_types_64.h b/arch/x86/include/asm/posix_types_64.h index 388b4e7f4a44..eb8d2d92b63e 100644 --- a/arch/x86/include/asm/posix_types_64.h +++ b/arch/x86/include/asm/posix_types_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__POSIX_TYPES_64_H | 1 | #ifndef _ASM_X86_POSIX_TYPES_64_H |
2 | #define ASM_X86__POSIX_TYPES_64_H | 2 | #define _ASM_X86_POSIX_TYPES_64_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * This file is generally used by user-level software, so you need to | 5 | * This file is generally used by user-level software, so you need to |
@@ -116,4 +116,4 @@ static inline void __FD_ZERO(__kernel_fd_set *p) | |||
116 | 116 | ||
117 | #endif /* defined(__KERNEL__) */ | 117 | #endif /* defined(__KERNEL__) */ |
118 | 118 | ||
119 | #endif /* ASM_X86__POSIX_TYPES_64_H */ | 119 | #endif /* _ASM_X86_POSIX_TYPES_64_H */ |
diff --git a/arch/x86/include/asm/prctl.h b/arch/x86/include/asm/prctl.h index e7ae34eb4103..fe681147a4f7 100644 --- a/arch/x86/include/asm/prctl.h +++ b/arch/x86/include/asm/prctl.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PRCTL_H | 1 | #ifndef _ASM_X86_PRCTL_H |
2 | #define ASM_X86__PRCTL_H | 2 | #define _ASM_X86_PRCTL_H |
3 | 3 | ||
4 | #define ARCH_SET_GS 0x1001 | 4 | #define ARCH_SET_GS 0x1001 |
5 | #define ARCH_SET_FS 0x1002 | 5 | #define ARCH_SET_FS 0x1002 |
@@ -7,4 +7,4 @@ | |||
7 | #define ARCH_GET_GS 0x1004 | 7 | #define ARCH_GET_GS 0x1004 |
8 | 8 | ||
9 | 9 | ||
10 | #endif /* ASM_X86__PRCTL_H */ | 10 | #endif /* _ASM_X86_PRCTL_H */ |
diff --git a/arch/x86/include/asm/processor-flags.h b/arch/x86/include/asm/processor-flags.h index dc5f0712f9fa..7a3e836eb2a9 100644 --- a/arch/x86/include/asm/processor-flags.h +++ b/arch/x86/include/asm/processor-flags.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PROCESSOR_FLAGS_H | 1 | #ifndef _ASM_X86_PROCESSOR_FLAGS_H |
2 | #define ASM_X86__PROCESSOR_FLAGS_H | 2 | #define _ASM_X86_PROCESSOR_FLAGS_H |
3 | /* Various flags defined: can be included from assembler. */ | 3 | /* Various flags defined: can be included from assembler. */ |
4 | 4 | ||
5 | /* | 5 | /* |
@@ -97,4 +97,4 @@ | |||
97 | #endif | 97 | #endif |
98 | #endif | 98 | #endif |
99 | 99 | ||
100 | #endif /* ASM_X86__PROCESSOR_FLAGS_H */ | 100 | #endif /* _ASM_X86_PROCESSOR_FLAGS_H */ |
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index ee7cbb30773a..5ca01e383269 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PROCESSOR_H | 1 | #ifndef _ASM_X86_PROCESSOR_H |
2 | #define ASM_X86__PROCESSOR_H | 2 | #define _ASM_X86_PROCESSOR_H |
3 | 3 | ||
4 | #include <asm/processor-flags.h> | 4 | #include <asm/processor-flags.h> |
5 | 5 | ||
@@ -933,4 +933,4 @@ extern void start_thread(struct pt_regs *regs, unsigned long new_ip, | |||
933 | extern int get_tsc_mode(unsigned long adr); | 933 | extern int get_tsc_mode(unsigned long adr); |
934 | extern int set_tsc_mode(unsigned int val); | 934 | extern int set_tsc_mode(unsigned int val); |
935 | 935 | ||
936 | #endif /* ASM_X86__PROCESSOR_H */ | 936 | #endif /* _ASM_X86_PROCESSOR_H */ |
diff --git a/arch/x86/include/asm/proto.h b/arch/x86/include/asm/proto.h index 6e89e8b4de0e..d6a22f92ba77 100644 --- a/arch/x86/include/asm/proto.h +++ b/arch/x86/include/asm/proto.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PROTO_H | 1 | #ifndef _ASM_X86_PROTO_H |
2 | #define ASM_X86__PROTO_H | 2 | #define _ASM_X86_PROTO_H |
3 | 3 | ||
4 | #include <asm/ldt.h> | 4 | #include <asm/ldt.h> |
5 | 5 | ||
@@ -29,4 +29,4 @@ long do_arch_prctl(struct task_struct *task, int code, unsigned long addr); | |||
29 | #define round_up(x, y) (((x) + (y) - 1) & ~((y) - 1)) | 29 | #define round_up(x, y) (((x) + (y) - 1) & ~((y) - 1)) |
30 | #define round_down(x, y) ((x) & ~((y) - 1)) | 30 | #define round_down(x, y) ((x) & ~((y) - 1)) |
31 | 31 | ||
32 | #endif /* ASM_X86__PROTO_H */ | 32 | #endif /* _ASM_X86_PROTO_H */ |
diff --git a/arch/x86/include/asm/ptrace-abi.h b/arch/x86/include/asm/ptrace-abi.h index 4298b8882a78..25f1bb8fc626 100644 --- a/arch/x86/include/asm/ptrace-abi.h +++ b/arch/x86/include/asm/ptrace-abi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PTRACE_ABI_H | 1 | #ifndef _ASM_X86_PTRACE_ABI_H |
2 | #define ASM_X86__PTRACE_ABI_H | 2 | #define _ASM_X86_PTRACE_ABI_H |
3 | 3 | ||
4 | #ifdef __i386__ | 4 | #ifdef __i386__ |
5 | 5 | ||
@@ -142,4 +142,4 @@ struct ptrace_bts_config { | |||
142 | */ | 142 | */ |
143 | #endif /* CONFIG_X86_PTRACE_BTS */ | 143 | #endif /* CONFIG_X86_PTRACE_BTS */ |
144 | 144 | ||
145 | #endif /* ASM_X86__PTRACE_ABI_H */ | 145 | #endif /* _ASM_X86_PTRACE_ABI_H */ |
diff --git a/arch/x86/include/asm/ptrace.h b/arch/x86/include/asm/ptrace.h index a2025525a15a..d1531c8480b7 100644 --- a/arch/x86/include/asm/ptrace.h +++ b/arch/x86/include/asm/ptrace.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PTRACE_H | 1 | #ifndef _ASM_X86_PTRACE_H |
2 | #define ASM_X86__PTRACE_H | 2 | #define _ASM_X86_PTRACE_H |
3 | 3 | ||
4 | #include <linux/compiler.h> /* For __user */ | 4 | #include <linux/compiler.h> /* For __user */ |
5 | #include <asm/ptrace-abi.h> | 5 | #include <asm/ptrace-abi.h> |
@@ -277,4 +277,4 @@ extern int do_set_thread_area(struct task_struct *p, int idx, | |||
277 | 277 | ||
278 | #endif /* !__ASSEMBLY__ */ | 278 | #endif /* !__ASSEMBLY__ */ |
279 | 279 | ||
280 | #endif /* ASM_X86__PTRACE_H */ | 280 | #endif /* _ASM_X86_PTRACE_H */ |
diff --git a/arch/x86/include/asm/pvclock-abi.h b/arch/x86/include/asm/pvclock-abi.h index edb3b4ecfc81..6d93508f2626 100644 --- a/arch/x86/include/asm/pvclock-abi.h +++ b/arch/x86/include/asm/pvclock-abi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PVCLOCK_ABI_H | 1 | #ifndef _ASM_X86_PVCLOCK_ABI_H |
2 | #define ASM_X86__PVCLOCK_ABI_H | 2 | #define _ASM_X86_PVCLOCK_ABI_H |
3 | #ifndef __ASSEMBLY__ | 3 | #ifndef __ASSEMBLY__ |
4 | 4 | ||
5 | /* | 5 | /* |
@@ -39,4 +39,4 @@ struct pvclock_wall_clock { | |||
39 | } __attribute__((__packed__)); | 39 | } __attribute__((__packed__)); |
40 | 40 | ||
41 | #endif /* __ASSEMBLY__ */ | 41 | #endif /* __ASSEMBLY__ */ |
42 | #endif /* ASM_X86__PVCLOCK_ABI_H */ | 42 | #endif /* _ASM_X86_PVCLOCK_ABI_H */ |
diff --git a/arch/x86/include/asm/pvclock.h b/arch/x86/include/asm/pvclock.h index ad29e277fd6d..53235fd5f8ce 100644 --- a/arch/x86/include/asm/pvclock.h +++ b/arch/x86/include/asm/pvclock.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__PVCLOCK_H | 1 | #ifndef _ASM_X86_PVCLOCK_H |
2 | #define ASM_X86__PVCLOCK_H | 2 | #define _ASM_X86_PVCLOCK_H |
3 | 3 | ||
4 | #include <linux/clocksource.h> | 4 | #include <linux/clocksource.h> |
5 | #include <asm/pvclock-abi.h> | 5 | #include <asm/pvclock-abi.h> |
@@ -11,4 +11,4 @@ void pvclock_read_wallclock(struct pvclock_wall_clock *wall, | |||
11 | struct pvclock_vcpu_time_info *vcpu, | 11 | struct pvclock_vcpu_time_info *vcpu, |
12 | struct timespec *ts); | 12 | struct timespec *ts); |
13 | 13 | ||
14 | #endif /* ASM_X86__PVCLOCK_H */ | 14 | #endif /* _ASM_X86_PVCLOCK_H */ |
diff --git a/arch/x86/include/asm/reboot.h b/arch/x86/include/asm/reboot.h index 1c2f0ce9e31e..df7710354f85 100644 --- a/arch/x86/include/asm/reboot.h +++ b/arch/x86/include/asm/reboot.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__REBOOT_H | 1 | #ifndef _ASM_X86_REBOOT_H |
2 | #define ASM_X86__REBOOT_H | 2 | #define _ASM_X86_REBOOT_H |
3 | 3 | ||
4 | struct pt_regs; | 4 | struct pt_regs; |
5 | 5 | ||
@@ -18,4 +18,4 @@ void native_machine_crash_shutdown(struct pt_regs *regs); | |||
18 | void native_machine_shutdown(void); | 18 | void native_machine_shutdown(void); |
19 | void machine_real_restart(const unsigned char *code, int length); | 19 | void machine_real_restart(const unsigned char *code, int length); |
20 | 20 | ||
21 | #endif /* ASM_X86__REBOOT_H */ | 21 | #endif /* _ASM_X86_REBOOT_H */ |
diff --git a/arch/x86/include/asm/reboot_fixups.h b/arch/x86/include/asm/reboot_fixups.h index 2c2987d97570..765debe4c54c 100644 --- a/arch/x86/include/asm/reboot_fixups.h +++ b/arch/x86/include/asm/reboot_fixups.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #ifndef ASM_X86__REBOOT_FIXUPS_H | 1 | #ifndef _ASM_X86_REBOOT_FIXUPS_H |
2 | #define ASM_X86__REBOOT_FIXUPS_H | 2 | #define _ASM_X86_REBOOT_FIXUPS_H |
3 | 3 | ||
4 | extern void mach_reboot_fixups(void); | 4 | extern void mach_reboot_fixups(void); |
5 | 5 | ||
6 | #endif /* ASM_X86__REBOOT_FIXUPS_H */ | 6 | #endif /* _ASM_X86_REBOOT_FIXUPS_H */ |
diff --git a/arch/x86/include/asm/required-features.h b/arch/x86/include/asm/required-features.h index a01c4e376331..d5cd6c586881 100644 --- a/arch/x86/include/asm/required-features.h +++ b/arch/x86/include/asm/required-features.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__REQUIRED_FEATURES_H | 1 | #ifndef _ASM_X86_REQUIRED_FEATURES_H |
2 | #define ASM_X86__REQUIRED_FEATURES_H | 2 | #define _ASM_X86_REQUIRED_FEATURES_H |
3 | 3 | ||
4 | /* Define minimum CPUID feature set for kernel These bits are checked | 4 | /* Define minimum CPUID feature set for kernel These bits are checked |
5 | really early to actually display a visible error message before the | 5 | really early to actually display a visible error message before the |
@@ -79,4 +79,4 @@ | |||
79 | #define REQUIRED_MASK6 0 | 79 | #define REQUIRED_MASK6 0 |
80 | #define REQUIRED_MASK7 0 | 80 | #define REQUIRED_MASK7 0 |
81 | 81 | ||
82 | #endif /* ASM_X86__REQUIRED_FEATURES_H */ | 82 | #endif /* _ASM_X86_REQUIRED_FEATURES_H */ |
diff --git a/arch/x86/include/asm/resume-trace.h b/arch/x86/include/asm/resume-trace.h index e39376d7de50..3ff1c2cb1da5 100644 --- a/arch/x86/include/asm/resume-trace.h +++ b/arch/x86/include/asm/resume-trace.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__RESUME_TRACE_H | 1 | #ifndef _ASM_X86_RESUME_TRACE_H |
2 | #define ASM_X86__RESUME_TRACE_H | 2 | #define _ASM_X86_RESUME_TRACE_H |
3 | 3 | ||
4 | #include <asm/asm.h> | 4 | #include <asm/asm.h> |
5 | 5 | ||
@@ -18,4 +18,4 @@ do { \ | |||
18 | } \ | 18 | } \ |
19 | } while (0) | 19 | } while (0) |
20 | 20 | ||
21 | #endif /* ASM_X86__RESUME_TRACE_H */ | 21 | #endif /* _ASM_X86_RESUME_TRACE_H */ |
diff --git a/arch/x86/include/asm/rio.h b/arch/x86/include/asm/rio.h index 5e1256bdee83..97bab6388a92 100644 --- a/arch/x86/include/asm/rio.h +++ b/arch/x86/include/asm/rio.h | |||
@@ -5,8 +5,8 @@ | |||
5 | * Author: Laurent Vivier <Laurent.Vivier@bull.net> | 5 | * Author: Laurent Vivier <Laurent.Vivier@bull.net> |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #ifndef ASM_X86__RIO_H | 8 | #ifndef _ASM_X86_RIO_H |
9 | #define ASM_X86__RIO_H | 9 | #define _ASM_X86_RIO_H |
10 | 10 | ||
11 | #define RIO_TABLE_VERSION 3 | 11 | #define RIO_TABLE_VERSION 3 |
12 | 12 | ||
@@ -60,4 +60,4 @@ enum { | |||
60 | ALT_CALGARY = 5, /* Second Planar Calgary */ | 60 | ALT_CALGARY = 5, /* Second Planar Calgary */ |
61 | }; | 61 | }; |
62 | 62 | ||
63 | #endif /* ASM_X86__RIO_H */ | 63 | #endif /* _ASM_X86_RIO_H */ |
diff --git a/arch/x86/include/asm/rwlock.h b/arch/x86/include/asm/rwlock.h index 48a3109e1a7d..6a8c0d645108 100644 --- a/arch/x86/include/asm/rwlock.h +++ b/arch/x86/include/asm/rwlock.h | |||
@@ -1,8 +1,8 @@ | |||
1 | #ifndef ASM_X86__RWLOCK_H | 1 | #ifndef _ASM_X86_RWLOCK_H |
2 | #define ASM_X86__RWLOCK_H | 2 | #define _ASM_X86_RWLOCK_H |
3 | 3 | ||
4 | #define RW_LOCK_BIAS 0x01000000 | 4 | #define RW_LOCK_BIAS 0x01000000 |
5 | 5 | ||
6 | /* Actual code is in asm/spinlock.h or in arch/x86/lib/rwlock.S */ | 6 | /* Actual code is in asm/spinlock.h or in arch/x86/lib/rwlock.S */ |
7 | 7 | ||
8 | #endif /* ASM_X86__RWLOCK_H */ | 8 | #endif /* _ASM_X86_RWLOCK_H */ |
diff --git a/arch/x86/include/asm/rwsem.h b/arch/x86/include/asm/rwsem.h index 3ff3015b71a8..ca7517d33776 100644 --- a/arch/x86/include/asm/rwsem.h +++ b/arch/x86/include/asm/rwsem.h | |||
@@ -29,8 +29,8 @@ | |||
29 | * front, then they'll all be woken up, but no other readers will be. | 29 | * front, then they'll all be woken up, but no other readers will be. |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #ifndef ASM_X86__RWSEM_H | 32 | #ifndef _ASM_X86_RWSEM_H |
33 | #define ASM_X86__RWSEM_H | 33 | #define _ASM_X86_RWSEM_H |
34 | 34 | ||
35 | #ifndef _LINUX_RWSEM_H | 35 | #ifndef _LINUX_RWSEM_H |
36 | #error "please don't include asm/rwsem.h directly, use linux/rwsem.h instead" | 36 | #error "please don't include asm/rwsem.h directly, use linux/rwsem.h instead" |
@@ -262,4 +262,4 @@ static inline int rwsem_is_locked(struct rw_semaphore *sem) | |||
262 | } | 262 | } |
263 | 263 | ||
264 | #endif /* __KERNEL__ */ | 264 | #endif /* __KERNEL__ */ |
265 | #endif /* ASM_X86__RWSEM_H */ | 265 | #endif /* _ASM_X86_RWSEM_H */ |
diff --git a/arch/x86/include/asm/scatterlist.h b/arch/x86/include/asm/scatterlist.h index ee48f880005d..263d397d2eef 100644 --- a/arch/x86/include/asm/scatterlist.h +++ b/arch/x86/include/asm/scatterlist.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SCATTERLIST_H | 1 | #ifndef _ASM_X86_SCATTERLIST_H |
2 | #define ASM_X86__SCATTERLIST_H | 2 | #define _ASM_X86_SCATTERLIST_H |
3 | 3 | ||
4 | #include <asm/types.h> | 4 | #include <asm/types.h> |
5 | 5 | ||
@@ -30,4 +30,4 @@ struct scatterlist { | |||
30 | # define sg_dma_len(sg) ((sg)->dma_length) | 30 | # define sg_dma_len(sg) ((sg)->dma_length) |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | #endif /* ASM_X86__SCATTERLIST_H */ | 33 | #endif /* _ASM_X86_SCATTERLIST_H */ |
diff --git a/arch/x86/include/asm/seccomp_32.h b/arch/x86/include/asm/seccomp_32.h index cf9ab2dbcef1..a6ad87b352c4 100644 --- a/arch/x86/include/asm/seccomp_32.h +++ b/arch/x86/include/asm/seccomp_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SECCOMP_32_H | 1 | #ifndef _ASM_X86_SECCOMP_32_H |
2 | #define ASM_X86__SECCOMP_32_H | 2 | #define _ASM_X86_SECCOMP_32_H |
3 | 3 | ||
4 | #include <linux/thread_info.h> | 4 | #include <linux/thread_info.h> |
5 | 5 | ||
@@ -14,4 +14,4 @@ | |||
14 | #define __NR_seccomp_exit __NR_exit | 14 | #define __NR_seccomp_exit __NR_exit |
15 | #define __NR_seccomp_sigreturn __NR_sigreturn | 15 | #define __NR_seccomp_sigreturn __NR_sigreturn |
16 | 16 | ||
17 | #endif /* ASM_X86__SECCOMP_32_H */ | 17 | #endif /* _ASM_X86_SECCOMP_32_H */ |
diff --git a/arch/x86/include/asm/seccomp_64.h b/arch/x86/include/asm/seccomp_64.h index 03274cea751f..4171bb794e9e 100644 --- a/arch/x86/include/asm/seccomp_64.h +++ b/arch/x86/include/asm/seccomp_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SECCOMP_64_H | 1 | #ifndef _ASM_X86_SECCOMP_64_H |
2 | #define ASM_X86__SECCOMP_64_H | 2 | #define _ASM_X86_SECCOMP_64_H |
3 | 3 | ||
4 | #include <linux/thread_info.h> | 4 | #include <linux/thread_info.h> |
5 | 5 | ||
@@ -22,4 +22,4 @@ | |||
22 | #define __NR_seccomp_exit_32 __NR_ia32_exit | 22 | #define __NR_seccomp_exit_32 __NR_ia32_exit |
23 | #define __NR_seccomp_sigreturn_32 __NR_ia32_sigreturn | 23 | #define __NR_seccomp_sigreturn_32 __NR_ia32_sigreturn |
24 | 24 | ||
25 | #endif /* ASM_X86__SECCOMP_64_H */ | 25 | #endif /* _ASM_X86_SECCOMP_64_H */ |
diff --git a/arch/x86/include/asm/segment.h b/arch/x86/include/asm/segment.h index 5d6e69454891..1dc1b51ac623 100644 --- a/arch/x86/include/asm/segment.h +++ b/arch/x86/include/asm/segment.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SEGMENT_H | 1 | #ifndef _ASM_X86_SEGMENT_H |
2 | #define ASM_X86__SEGMENT_H | 2 | #define _ASM_X86_SEGMENT_H |
3 | 3 | ||
4 | /* Constructor for a conventional segment GDT (or LDT) entry */ | 4 | /* Constructor for a conventional segment GDT (or LDT) entry */ |
5 | /* This is a macro so it can be used in initializers */ | 5 | /* This is a macro so it can be used in initializers */ |
@@ -206,4 +206,4 @@ extern const char early_idt_handlers[NUM_EXCEPTION_VECTORS][10]; | |||
206 | #endif | 206 | #endif |
207 | #endif | 207 | #endif |
208 | 208 | ||
209 | #endif /* ASM_X86__SEGMENT_H */ | 209 | #endif /* _ASM_X86_SEGMENT_H */ |
diff --git a/arch/x86/include/asm/sembuf.h b/arch/x86/include/asm/sembuf.h index 81f06b7e5a3f..ee50c801f7b7 100644 --- a/arch/x86/include/asm/sembuf.h +++ b/arch/x86/include/asm/sembuf.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SEMBUF_H | 1 | #ifndef _ASM_X86_SEMBUF_H |
2 | #define ASM_X86__SEMBUF_H | 2 | #define _ASM_X86_SEMBUF_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * The semid64_ds structure for x86 architecture. | 5 | * The semid64_ds structure for x86 architecture. |
@@ -21,4 +21,4 @@ struct semid64_ds { | |||
21 | unsigned long __unused4; | 21 | unsigned long __unused4; |
22 | }; | 22 | }; |
23 | 23 | ||
24 | #endif /* ASM_X86__SEMBUF_H */ | 24 | #endif /* _ASM_X86_SEMBUF_H */ |
diff --git a/arch/x86/include/asm/serial.h b/arch/x86/include/asm/serial.h index 303660b671e5..628c801535ea 100644 --- a/arch/x86/include/asm/serial.h +++ b/arch/x86/include/asm/serial.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SERIAL_H | 1 | #ifndef _ASM_X86_SERIAL_H |
2 | #define ASM_X86__SERIAL_H | 2 | #define _ASM_X86_SERIAL_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * This assumes you have a 1.8432 MHz clock for your UART. | 5 | * This assumes you have a 1.8432 MHz clock for your UART. |
@@ -26,4 +26,4 @@ | |||
26 | { 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAGS }, /* ttyS2 */ \ | 26 | { 0, BASE_BAUD, 0x3E8, 4, STD_COM_FLAGS }, /* ttyS2 */ \ |
27 | { 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS }, /* ttyS3 */ | 27 | { 0, BASE_BAUD, 0x2E8, 3, STD_COM4_FLAGS }, /* ttyS3 */ |
28 | 28 | ||
29 | #endif /* ASM_X86__SERIAL_H */ | 29 | #endif /* _ASM_X86_SERIAL_H */ |
diff --git a/arch/x86/include/asm/setup.h b/arch/x86/include/asm/setup.h index 11b6cc14b289..f12d37237465 100644 --- a/arch/x86/include/asm/setup.h +++ b/arch/x86/include/asm/setup.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SETUP_H | 1 | #ifndef _ASM_X86_SETUP_H |
2 | #define ASM_X86__SETUP_H | 2 | #define _ASM_X86_SETUP_H |
3 | 3 | ||
4 | #define COMMAND_LINE_SIZE 2048 | 4 | #define COMMAND_LINE_SIZE 2048 |
5 | 5 | ||
@@ -102,4 +102,4 @@ void __init x86_64_start_reservations(char *real_mode_data); | |||
102 | #endif /* __ASSEMBLY__ */ | 102 | #endif /* __ASSEMBLY__ */ |
103 | #endif /* __KERNEL__ */ | 103 | #endif /* __KERNEL__ */ |
104 | 104 | ||
105 | #endif /* ASM_X86__SETUP_H */ | 105 | #endif /* _ASM_X86_SETUP_H */ |
diff --git a/arch/x86/include/asm/shmbuf.h b/arch/x86/include/asm/shmbuf.h index f51aec2298e9..b51413b74971 100644 --- a/arch/x86/include/asm/shmbuf.h +++ b/arch/x86/include/asm/shmbuf.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SHMBUF_H | 1 | #ifndef _ASM_X86_SHMBUF_H |
2 | #define ASM_X86__SHMBUF_H | 2 | #define _ASM_X86_SHMBUF_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * The shmid64_ds structure for x86 architecture. | 5 | * The shmid64_ds structure for x86 architecture. |
@@ -48,4 +48,4 @@ struct shminfo64 { | |||
48 | unsigned long __unused4; | 48 | unsigned long __unused4; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | #endif /* ASM_X86__SHMBUF_H */ | 51 | #endif /* _ASM_X86_SHMBUF_H */ |
diff --git a/arch/x86/include/asm/shmparam.h b/arch/x86/include/asm/shmparam.h index a83a1fd96a0e..0880cf0917b9 100644 --- a/arch/x86/include/asm/shmparam.h +++ b/arch/x86/include/asm/shmparam.h | |||
@@ -1,6 +1,6 @@ | |||
1 | #ifndef ASM_X86__SHMPARAM_H | 1 | #ifndef _ASM_X86_SHMPARAM_H |
2 | #define ASM_X86__SHMPARAM_H | 2 | #define _ASM_X86_SHMPARAM_H |
3 | 3 | ||
4 | #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ | 4 | #define SHMLBA PAGE_SIZE /* attach addr a multiple of this */ |
5 | 5 | ||
6 | #endif /* ASM_X86__SHMPARAM_H */ | 6 | #endif /* _ASM_X86_SHMPARAM_H */ |
diff --git a/arch/x86/include/asm/sigcontext.h b/arch/x86/include/asm/sigcontext.h index ee813f4fe5d5..0afcb5e58acc 100644 --- a/arch/x86/include/asm/sigcontext.h +++ b/arch/x86/include/asm/sigcontext.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SIGCONTEXT_H | 1 | #ifndef _ASM_X86_SIGCONTEXT_H |
2 | #define ASM_X86__SIGCONTEXT_H | 2 | #define _ASM_X86_SIGCONTEXT_H |
3 | 3 | ||
4 | #include <linux/compiler.h> | 4 | #include <linux/compiler.h> |
5 | #include <asm/types.h> | 5 | #include <asm/types.h> |
@@ -281,4 +281,4 @@ struct _xstate { | |||
281 | /* new processor state extensions go here */ | 281 | /* new processor state extensions go here */ |
282 | }; | 282 | }; |
283 | 283 | ||
284 | #endif /* ASM_X86__SIGCONTEXT_H */ | 284 | #endif /* _ASM_X86_SIGCONTEXT_H */ |
diff --git a/arch/x86/include/asm/sigcontext32.h b/arch/x86/include/asm/sigcontext32.h index 8c347032c2f2..6126188cf3a9 100644 --- a/arch/x86/include/asm/sigcontext32.h +++ b/arch/x86/include/asm/sigcontext32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SIGCONTEXT32_H | 1 | #ifndef _ASM_X86_SIGCONTEXT32_H |
2 | #define ASM_X86__SIGCONTEXT32_H | 2 | #define _ASM_X86_SIGCONTEXT32_H |
3 | 3 | ||
4 | /* signal context for 32bit programs. */ | 4 | /* signal context for 32bit programs. */ |
5 | 5 | ||
@@ -72,4 +72,4 @@ struct sigcontext_ia32 { | |||
72 | unsigned int cr2; | 72 | unsigned int cr2; |
73 | }; | 73 | }; |
74 | 74 | ||
75 | #endif /* ASM_X86__SIGCONTEXT32_H */ | 75 | #endif /* _ASM_X86_SIGCONTEXT32_H */ |
diff --git a/arch/x86/include/asm/siginfo.h b/arch/x86/include/asm/siginfo.h index 808bdfb2958c..fc1aa5535646 100644 --- a/arch/x86/include/asm/siginfo.h +++ b/arch/x86/include/asm/siginfo.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SIGINFO_H | 1 | #ifndef _ASM_X86_SIGINFO_H |
2 | #define ASM_X86__SIGINFO_H | 2 | #define _ASM_X86_SIGINFO_H |
3 | 3 | ||
4 | #ifdef __x86_64__ | 4 | #ifdef __x86_64__ |
5 | # define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) | 5 | # define __ARCH_SI_PREAMBLE_SIZE (4 * sizeof(int)) |
@@ -7,4 +7,4 @@ | |||
7 | 7 | ||
8 | #include <asm-generic/siginfo.h> | 8 | #include <asm-generic/siginfo.h> |
9 | 9 | ||
10 | #endif /* ASM_X86__SIGINFO_H */ | 10 | #endif /* _ASM_X86_SIGINFO_H */ |
diff --git a/arch/x86/include/asm/signal.h b/arch/x86/include/asm/signal.h index 65acc82d267a..96ac44f275da 100644 --- a/arch/x86/include/asm/signal.h +++ b/arch/x86/include/asm/signal.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SIGNAL_H | 1 | #ifndef _ASM_X86_SIGNAL_H |
2 | #define ASM_X86__SIGNAL_H | 2 | #define _ASM_X86_SIGNAL_H |
3 | 3 | ||
4 | #ifndef __ASSEMBLY__ | 4 | #ifndef __ASSEMBLY__ |
5 | #include <linux/types.h> | 5 | #include <linux/types.h> |
@@ -259,4 +259,4 @@ struct pt_regs; | |||
259 | #endif /* __KERNEL__ */ | 259 | #endif /* __KERNEL__ */ |
260 | #endif /* __ASSEMBLY__ */ | 260 | #endif /* __ASSEMBLY__ */ |
261 | 261 | ||
262 | #endif /* ASM_X86__SIGNAL_H */ | 262 | #endif /* _ASM_X86_SIGNAL_H */ |
diff --git a/arch/x86/include/asm/smp.h b/arch/x86/include/asm/smp.h index a6afc29f2dd9..2766021aef80 100644 --- a/arch/x86/include/asm/smp.h +++ b/arch/x86/include/asm/smp.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SMP_H | 1 | #ifndef _ASM_X86_SMP_H |
2 | #define ASM_X86__SMP_H | 2 | #define _ASM_X86_SMP_H |
3 | #ifndef __ASSEMBLY__ | 3 | #ifndef __ASSEMBLY__ |
4 | #include <linux/cpumask.h> | 4 | #include <linux/cpumask.h> |
5 | #include <linux/init.h> | 5 | #include <linux/init.h> |
@@ -226,4 +226,4 @@ static inline int hard_smp_processor_id(void) | |||
226 | #endif /* CONFIG_X86_LOCAL_APIC */ | 226 | #endif /* CONFIG_X86_LOCAL_APIC */ |
227 | 227 | ||
228 | #endif /* __ASSEMBLY__ */ | 228 | #endif /* __ASSEMBLY__ */ |
229 | #endif /* ASM_X86__SMP_H */ | 229 | #endif /* _ASM_X86_SMP_H */ |
diff --git a/arch/x86/include/asm/socket.h b/arch/x86/include/asm/socket.h index db73274c83c3..8ab9cc8b2ecc 100644 --- a/arch/x86/include/asm/socket.h +++ b/arch/x86/include/asm/socket.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SOCKET_H | 1 | #ifndef _ASM_X86_SOCKET_H |
2 | #define ASM_X86__SOCKET_H | 2 | #define _ASM_X86_SOCKET_H |
3 | 3 | ||
4 | #include <asm/sockios.h> | 4 | #include <asm/sockios.h> |
5 | 5 | ||
@@ -54,4 +54,4 @@ | |||
54 | 54 | ||
55 | #define SO_MARK 36 | 55 | #define SO_MARK 36 |
56 | 56 | ||
57 | #endif /* ASM_X86__SOCKET_H */ | 57 | #endif /* _ASM_X86_SOCKET_H */ |
diff --git a/arch/x86/include/asm/sockios.h b/arch/x86/include/asm/sockios.h index a006704fdc84..49cc72b5d3c9 100644 --- a/arch/x86/include/asm/sockios.h +++ b/arch/x86/include/asm/sockios.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SOCKIOS_H | 1 | #ifndef _ASM_X86_SOCKIOS_H |
2 | #define ASM_X86__SOCKIOS_H | 2 | #define _ASM_X86_SOCKIOS_H |
3 | 3 | ||
4 | /* Socket-level I/O control calls. */ | 4 | /* Socket-level I/O control calls. */ |
5 | #define FIOSETOWN 0x8901 | 5 | #define FIOSETOWN 0x8901 |
@@ -10,4 +10,4 @@ | |||
10 | #define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */ | 10 | #define SIOCGSTAMP 0x8906 /* Get stamp (timeval) */ |
11 | #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */ | 11 | #define SIOCGSTAMPNS 0x8907 /* Get stamp (timespec) */ |
12 | 12 | ||
13 | #endif /* ASM_X86__SOCKIOS_H */ | 13 | #endif /* _ASM_X86_SOCKIOS_H */ |
diff --git a/arch/x86/include/asm/sparsemem.h b/arch/x86/include/asm/sparsemem.h index 38f8e6bc3186..be44f7dab395 100644 --- a/arch/x86/include/asm/sparsemem.h +++ b/arch/x86/include/asm/sparsemem.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SPARSEMEM_H | 1 | #ifndef _ASM_X86_SPARSEMEM_H |
2 | #define ASM_X86__SPARSEMEM_H | 2 | #define _ASM_X86_SPARSEMEM_H |
3 | 3 | ||
4 | #ifdef CONFIG_SPARSEMEM | 4 | #ifdef CONFIG_SPARSEMEM |
5 | /* | 5 | /* |
@@ -31,4 +31,4 @@ | |||
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | #endif /* CONFIG_SPARSEMEM */ | 33 | #endif /* CONFIG_SPARSEMEM */ |
34 | #endif /* ASM_X86__SPARSEMEM_H */ | 34 | #endif /* _ASM_X86_SPARSEMEM_H */ |
diff --git a/arch/x86/include/asm/spinlock.h b/arch/x86/include/asm/spinlock.h index 157ff7fab97a..d17c91981da2 100644 --- a/arch/x86/include/asm/spinlock.h +++ b/arch/x86/include/asm/spinlock.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SPINLOCK_H | 1 | #ifndef _ASM_X86_SPINLOCK_H |
2 | #define ASM_X86__SPINLOCK_H | 2 | #define _ASM_X86_SPINLOCK_H |
3 | 3 | ||
4 | #include <asm/atomic.h> | 4 | #include <asm/atomic.h> |
5 | #include <asm/rwlock.h> | 5 | #include <asm/rwlock.h> |
@@ -361,4 +361,4 @@ static inline void __raw_write_unlock(raw_rwlock_t *rw) | |||
361 | #define _raw_read_relax(lock) cpu_relax() | 361 | #define _raw_read_relax(lock) cpu_relax() |
362 | #define _raw_write_relax(lock) cpu_relax() | 362 | #define _raw_write_relax(lock) cpu_relax() |
363 | 363 | ||
364 | #endif /* ASM_X86__SPINLOCK_H */ | 364 | #endif /* _ASM_X86_SPINLOCK_H */ |
diff --git a/arch/x86/include/asm/spinlock_types.h b/arch/x86/include/asm/spinlock_types.h index 6aa9b562c508..845f81c87091 100644 --- a/arch/x86/include/asm/spinlock_types.h +++ b/arch/x86/include/asm/spinlock_types.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SPINLOCK_TYPES_H | 1 | #ifndef _ASM_X86_SPINLOCK_TYPES_H |
2 | #define ASM_X86__SPINLOCK_TYPES_H | 2 | #define _ASM_X86_SPINLOCK_TYPES_H |
3 | 3 | ||
4 | #ifndef __LINUX_SPINLOCK_TYPES_H | 4 | #ifndef __LINUX_SPINLOCK_TYPES_H |
5 | # error "please don't include this file directly" | 5 | # error "please don't include this file directly" |
@@ -17,4 +17,4 @@ typedef struct { | |||
17 | 17 | ||
18 | #define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS } | 18 | #define __RAW_RW_LOCK_UNLOCKED { RW_LOCK_BIAS } |
19 | 19 | ||
20 | #endif /* ASM_X86__SPINLOCK_TYPES_H */ | 20 | #endif /* _ASM_X86_SPINLOCK_TYPES_H */ |
diff --git a/arch/x86/include/asm/srat.h b/arch/x86/include/asm/srat.h index 5363e4f7e1cd..b508d639d1a7 100644 --- a/arch/x86/include/asm/srat.h +++ b/arch/x86/include/asm/srat.h | |||
@@ -24,8 +24,8 @@ | |||
24 | * Send feedback to Pat Gaughen <gone@us.ibm.com> | 24 | * Send feedback to Pat Gaughen <gone@us.ibm.com> |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #ifndef ASM_X86__SRAT_H | 27 | #ifndef _ASM_X86_SRAT_H |
28 | #define ASM_X86__SRAT_H | 28 | #define _ASM_X86_SRAT_H |
29 | 29 | ||
30 | #ifdef CONFIG_ACPI_NUMA | 30 | #ifdef CONFIG_ACPI_NUMA |
31 | extern int get_memcfg_from_srat(void); | 31 | extern int get_memcfg_from_srat(void); |
@@ -36,4 +36,4 @@ static inline int get_memcfg_from_srat(void) | |||
36 | } | 36 | } |
37 | #endif | 37 | #endif |
38 | 38 | ||
39 | #endif /* ASM_X86__SRAT_H */ | 39 | #endif /* _ASM_X86_SRAT_H */ |
diff --git a/arch/x86/include/asm/stacktrace.h b/arch/x86/include/asm/stacktrace.h index f43517e28532..f517944b2b17 100644 --- a/arch/x86/include/asm/stacktrace.h +++ b/arch/x86/include/asm/stacktrace.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__STACKTRACE_H | 1 | #ifndef _ASM_X86_STACKTRACE_H |
2 | #define ASM_X86__STACKTRACE_H | 2 | #define _ASM_X86_STACKTRACE_H |
3 | 3 | ||
4 | extern int kstack_depth_to_print; | 4 | extern int kstack_depth_to_print; |
5 | 5 | ||
@@ -18,4 +18,4 @@ void dump_trace(struct task_struct *tsk, struct pt_regs *regs, | |||
18 | unsigned long *stack, unsigned long bp, | 18 | unsigned long *stack, unsigned long bp, |
19 | const struct stacktrace_ops *ops, void *data); | 19 | const struct stacktrace_ops *ops, void *data); |
20 | 20 | ||
21 | #endif /* ASM_X86__STACKTRACE_H */ | 21 | #endif /* _ASM_X86_STACKTRACE_H */ |
diff --git a/arch/x86/include/asm/stat.h b/arch/x86/include/asm/stat.h index 1e120f628905..e0b1d9bbcbc6 100644 --- a/arch/x86/include/asm/stat.h +++ b/arch/x86/include/asm/stat.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__STAT_H | 1 | #ifndef _ASM_X86_STAT_H |
2 | #define ASM_X86__STAT_H | 2 | #define _ASM_X86_STAT_H |
3 | 3 | ||
4 | #define STAT_HAVE_NSEC 1 | 4 | #define STAT_HAVE_NSEC 1 |
5 | 5 | ||
@@ -111,4 +111,4 @@ struct __old_kernel_stat { | |||
111 | #endif | 111 | #endif |
112 | }; | 112 | }; |
113 | 113 | ||
114 | #endif /* ASM_X86__STAT_H */ | 114 | #endif /* _ASM_X86_STAT_H */ |
diff --git a/arch/x86/include/asm/statfs.h b/arch/x86/include/asm/statfs.h index ca5dc19dd461..2d0adbf99a8e 100644 --- a/arch/x86/include/asm/statfs.h +++ b/arch/x86/include/asm/statfs.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__STATFS_H | 1 | #ifndef _ASM_X86_STATFS_H |
2 | #define ASM_X86__STATFS_H | 2 | #define _ASM_X86_STATFS_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * We need compat_statfs64 to be packed, because the i386 ABI won't | 5 | * We need compat_statfs64 to be packed, because the i386 ABI won't |
@@ -9,4 +9,4 @@ | |||
9 | #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4))) | 9 | #define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4))) |
10 | 10 | ||
11 | #include <asm-generic/statfs.h> | 11 | #include <asm-generic/statfs.h> |
12 | #endif /* ASM_X86__STATFS_H */ | 12 | #endif /* _ASM_X86_STATFS_H */ |
diff --git a/arch/x86/include/asm/string_32.h b/arch/x86/include/asm/string_32.h index 487843ed245a..0e0e3ba827f7 100644 --- a/arch/x86/include/asm/string_32.h +++ b/arch/x86/include/asm/string_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__STRING_32_H | 1 | #ifndef _ASM_X86_STRING_32_H |
2 | #define ASM_X86__STRING_32_H | 2 | #define _ASM_X86_STRING_32_H |
3 | 3 | ||
4 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
5 | 5 | ||
@@ -323,4 +323,4 @@ extern void *memscan(void *addr, int c, size_t size); | |||
323 | 323 | ||
324 | #endif /* __KERNEL__ */ | 324 | #endif /* __KERNEL__ */ |
325 | 325 | ||
326 | #endif /* ASM_X86__STRING_32_H */ | 326 | #endif /* _ASM_X86_STRING_32_H */ |
diff --git a/arch/x86/include/asm/string_64.h b/arch/x86/include/asm/string_64.h index a2add11d3b66..2afe164bf1e6 100644 --- a/arch/x86/include/asm/string_64.h +++ b/arch/x86/include/asm/string_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__STRING_64_H | 1 | #ifndef _ASM_X86_STRING_64_H |
2 | #define ASM_X86__STRING_64_H | 2 | #define _ASM_X86_STRING_64_H |
3 | 3 | ||
4 | #ifdef __KERNEL__ | 4 | #ifdef __KERNEL__ |
5 | 5 | ||
@@ -57,4 +57,4 @@ int strcmp(const char *cs, const char *ct); | |||
57 | 57 | ||
58 | #endif /* __KERNEL__ */ | 58 | #endif /* __KERNEL__ */ |
59 | 59 | ||
60 | #endif /* ASM_X86__STRING_64_H */ | 60 | #endif /* _ASM_X86_STRING_64_H */ |
diff --git a/arch/x86/include/asm/suspend_32.h b/arch/x86/include/asm/suspend_32.h index acb6d4d491f4..a5074bd0f8be 100644 --- a/arch/x86/include/asm/suspend_32.h +++ b/arch/x86/include/asm/suspend_32.h | |||
@@ -3,8 +3,8 @@ | |||
3 | * Based on code | 3 | * Based on code |
4 | * Copyright 2001 Patrick Mochel <mochel@osdl.org> | 4 | * Copyright 2001 Patrick Mochel <mochel@osdl.org> |
5 | */ | 5 | */ |
6 | #ifndef ASM_X86__SUSPEND_32_H | 6 | #ifndef _ASM_X86_SUSPEND_32_H |
7 | #define ASM_X86__SUSPEND_32_H | 7 | #define _ASM_X86_SUSPEND_32_H |
8 | 8 | ||
9 | #include <asm/desc.h> | 9 | #include <asm/desc.h> |
10 | #include <asm/i387.h> | 10 | #include <asm/i387.h> |
@@ -48,4 +48,4 @@ static inline void acpi_save_register_state(unsigned long return_point) | |||
48 | extern int acpi_save_state_mem(void); | 48 | extern int acpi_save_state_mem(void); |
49 | #endif | 49 | #endif |
50 | 50 | ||
51 | #endif /* ASM_X86__SUSPEND_32_H */ | 51 | #endif /* _ASM_X86_SUSPEND_32_H */ |
diff --git a/arch/x86/include/asm/suspend_64.h b/arch/x86/include/asm/suspend_64.h index cf821dd310e8..06284f42b759 100644 --- a/arch/x86/include/asm/suspend_64.h +++ b/arch/x86/include/asm/suspend_64.h | |||
@@ -3,8 +3,8 @@ | |||
3 | * Based on code | 3 | * Based on code |
4 | * Copyright 2001 Patrick Mochel <mochel@osdl.org> | 4 | * Copyright 2001 Patrick Mochel <mochel@osdl.org> |
5 | */ | 5 | */ |
6 | #ifndef ASM_X86__SUSPEND_64_H | 6 | #ifndef _ASM_X86_SUSPEND_64_H |
7 | #define ASM_X86__SUSPEND_64_H | 7 | #define _ASM_X86_SUSPEND_64_H |
8 | 8 | ||
9 | #include <asm/desc.h> | 9 | #include <asm/desc.h> |
10 | #include <asm/i387.h> | 10 | #include <asm/i387.h> |
@@ -49,4 +49,4 @@ extern int acpi_save_state_mem(void); | |||
49 | extern char core_restore_code; | 49 | extern char core_restore_code; |
50 | extern char restore_registers; | 50 | extern char restore_registers; |
51 | 51 | ||
52 | #endif /* ASM_X86__SUSPEND_64_H */ | 52 | #endif /* _ASM_X86_SUSPEND_64_H */ |
diff --git a/arch/x86/include/asm/swiotlb.h b/arch/x86/include/asm/swiotlb.h index 1e20adbcad4b..51fb2c76ad74 100644 --- a/arch/x86/include/asm/swiotlb.h +++ b/arch/x86/include/asm/swiotlb.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SWIOTLB_H | 1 | #ifndef _ASM_X86_SWIOTLB_H |
2 | #define ASM_X86__SWIOTLB_H | 2 | #define _ASM_X86_SWIOTLB_H |
3 | 3 | ||
4 | #include <asm/dma-mapping.h> | 4 | #include <asm/dma-mapping.h> |
5 | 5 | ||
@@ -55,4 +55,4 @@ static inline void pci_swiotlb_init(void) | |||
55 | 55 | ||
56 | static inline void dma_mark_clean(void *addr, size_t size) {} | 56 | static inline void dma_mark_clean(void *addr, size_t size) {} |
57 | 57 | ||
58 | #endif /* ASM_X86__SWIOTLB_H */ | 58 | #endif /* _ASM_X86_SWIOTLB_H */ |
diff --git a/arch/x86/include/asm/sync_bitops.h b/arch/x86/include/asm/sync_bitops.h index b689bee71104..9d09b4073b60 100644 --- a/arch/x86/include/asm/sync_bitops.h +++ b/arch/x86/include/asm/sync_bitops.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SYNC_BITOPS_H | 1 | #ifndef _ASM_X86_SYNC_BITOPS_H |
2 | #define ASM_X86__SYNC_BITOPS_H | 2 | #define _ASM_X86_SYNC_BITOPS_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Copyright 1992, Linus Torvalds. | 5 | * Copyright 1992, Linus Torvalds. |
@@ -127,4 +127,4 @@ static inline int sync_test_and_change_bit(int nr, volatile unsigned long *addr) | |||
127 | 127 | ||
128 | #undef ADDR | 128 | #undef ADDR |
129 | 129 | ||
130 | #endif /* ASM_X86__SYNC_BITOPS_H */ | 130 | #endif /* _ASM_X86_SYNC_BITOPS_H */ |
diff --git a/arch/x86/include/asm/system.h b/arch/x86/include/asm/system.h index b20c894660f9..2ed3f0f44ff7 100644 --- a/arch/x86/include/asm/system.h +++ b/arch/x86/include/asm/system.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SYSTEM_H | 1 | #ifndef _ASM_X86_SYSTEM_H |
2 | #define ASM_X86__SYSTEM_H | 2 | #define _ASM_X86_SYSTEM_H |
3 | 3 | ||
4 | #include <asm/asm.h> | 4 | #include <asm/asm.h> |
5 | #include <asm/segment.h> | 5 | #include <asm/segment.h> |
@@ -422,4 +422,4 @@ static inline void rdtsc_barrier(void) | |||
422 | alternative(ASM_NOP3, "lfence", X86_FEATURE_LFENCE_RDTSC); | 422 | alternative(ASM_NOP3, "lfence", X86_FEATURE_LFENCE_RDTSC); |
423 | } | 423 | } |
424 | 424 | ||
425 | #endif /* ASM_X86__SYSTEM_H */ | 425 | #endif /* _ASM_X86_SYSTEM_H */ |
diff --git a/arch/x86/include/asm/system_64.h b/arch/x86/include/asm/system_64.h index 5aedb8bffc5a..1159e091ad09 100644 --- a/arch/x86/include/asm/system_64.h +++ b/arch/x86/include/asm/system_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__SYSTEM_64_H | 1 | #ifndef _ASM_X86_SYSTEM_64_H |
2 | #define ASM_X86__SYSTEM_64_H | 2 | #define _ASM_X86_SYSTEM_64_H |
3 | 3 | ||
4 | #include <asm/segment.h> | 4 | #include <asm/segment.h> |
5 | #include <asm/cmpxchg.h> | 5 | #include <asm/cmpxchg.h> |
@@ -19,4 +19,4 @@ static inline void write_cr8(unsigned long val) | |||
19 | 19 | ||
20 | #include <linux/irqflags.h> | 20 | #include <linux/irqflags.h> |
21 | 21 | ||
22 | #endif /* ASM_X86__SYSTEM_64_H */ | 22 | #endif /* _ASM_X86_SYSTEM_64_H */ |
diff --git a/arch/x86/include/asm/tce.h b/arch/x86/include/asm/tce.h index e7932d7fbbab..7a6677c1a715 100644 --- a/arch/x86/include/asm/tce.h +++ b/arch/x86/include/asm/tce.h | |||
@@ -21,8 +21,8 @@ | |||
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef ASM_X86__TCE_H | 24 | #ifndef _ASM_X86_TCE_H |
25 | #define ASM_X86__TCE_H | 25 | #define _ASM_X86_TCE_H |
26 | 26 | ||
27 | extern unsigned int specified_table_size; | 27 | extern unsigned int specified_table_size; |
28 | struct iommu_table; | 28 | struct iommu_table; |
@@ -45,4 +45,4 @@ extern void * __init alloc_tce_table(void); | |||
45 | extern void __init free_tce_table(void *tbl); | 45 | extern void __init free_tce_table(void *tbl); |
46 | extern int __init build_tce_table(struct pci_dev *dev, void __iomem *bbar); | 46 | extern int __init build_tce_table(struct pci_dev *dev, void __iomem *bbar); |
47 | 47 | ||
48 | #endif /* ASM_X86__TCE_H */ | 48 | #endif /* _ASM_X86_TCE_H */ |
diff --git a/arch/x86/include/asm/termbits.h b/arch/x86/include/asm/termbits.h index 3d00dc5e0c71..af1b70ea440f 100644 --- a/arch/x86/include/asm/termbits.h +++ b/arch/x86/include/asm/termbits.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__TERMBITS_H | 1 | #ifndef _ASM_X86_TERMBITS_H |
2 | #define ASM_X86__TERMBITS_H | 2 | #define _ASM_X86_TERMBITS_H |
3 | 3 | ||
4 | #include <linux/posix_types.h> | 4 | #include <linux/posix_types.h> |
5 | 5 | ||
@@ -195,4 +195,4 @@ struct ktermios { | |||
195 | #define TCSADRAIN 1 | 195 | #define TCSADRAIN 1 |
196 | #define TCSAFLUSH 2 | 196 | #define TCSAFLUSH 2 |
197 | 197 | ||
198 | #endif /* ASM_X86__TERMBITS_H */ | 198 | #endif /* _ASM_X86_TERMBITS_H */ |
diff --git a/arch/x86/include/asm/termios.h b/arch/x86/include/asm/termios.h index e235db248071..f72956331c49 100644 --- a/arch/x86/include/asm/termios.h +++ b/arch/x86/include/asm/termios.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__TERMIOS_H | 1 | #ifndef _ASM_X86_TERMIOS_H |
2 | #define ASM_X86__TERMIOS_H | 2 | #define _ASM_X86_TERMIOS_H |
3 | 3 | ||
4 | #include <asm/termbits.h> | 4 | #include <asm/termbits.h> |
5 | #include <asm/ioctls.h> | 5 | #include <asm/ioctls.h> |
@@ -110,4 +110,4 @@ static inline int kernel_termios_to_user_termios_1(struct termios __user *u, | |||
110 | 110 | ||
111 | #endif /* __KERNEL__ */ | 111 | #endif /* __KERNEL__ */ |
112 | 112 | ||
113 | #endif /* ASM_X86__TERMIOS_H */ | 113 | #endif /* _ASM_X86_TERMIOS_H */ |
diff --git a/arch/x86/include/asm/therm_throt.h b/arch/x86/include/asm/therm_throt.h index 1c7f57b6b66e..c62349ee7860 100644 --- a/arch/x86/include/asm/therm_throt.h +++ b/arch/x86/include/asm/therm_throt.h | |||
@@ -1,9 +1,9 @@ | |||
1 | #ifndef ASM_X86__THERM_THROT_H | 1 | #ifndef _ASM_X86_THERM_THROT_H |
2 | #define ASM_X86__THERM_THROT_H | 2 | #define _ASM_X86_THERM_THROT_H |
3 | 3 | ||
4 | #include <asm/atomic.h> | 4 | #include <asm/atomic.h> |
5 | 5 | ||
6 | extern atomic_t therm_throt_en; | 6 | extern atomic_t therm_throt_en; |
7 | int therm_throt_process(int curr); | 7 | int therm_throt_process(int curr); |
8 | 8 | ||
9 | #endif /* ASM_X86__THERM_THROT_H */ | 9 | #endif /* _ASM_X86_THERM_THROT_H */ |
diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm/thread_info.h index 3f4e52bb77f5..e44d379faad2 100644 --- a/arch/x86/include/asm/thread_info.h +++ b/arch/x86/include/asm/thread_info.h | |||
@@ -4,8 +4,8 @@ | |||
4 | * - Incorporating suggestions made by Linus Torvalds and Dave Miller | 4 | * - Incorporating suggestions made by Linus Torvalds and Dave Miller |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef ASM_X86__THREAD_INFO_H | 7 | #ifndef _ASM_X86_THREAD_INFO_H |
8 | #define ASM_X86__THREAD_INFO_H | 8 | #define _ASM_X86_THREAD_INFO_H |
9 | 9 | ||
10 | #include <linux/compiler.h> | 10 | #include <linux/compiler.h> |
11 | #include <asm/page.h> | 11 | #include <asm/page.h> |
@@ -261,4 +261,4 @@ extern void free_thread_info(struct thread_info *ti); | |||
261 | extern int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src); | 261 | extern int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src); |
262 | #define arch_task_cache_init arch_task_cache_init | 262 | #define arch_task_cache_init arch_task_cache_init |
263 | #endif | 263 | #endif |
264 | #endif /* ASM_X86__THREAD_INFO_H */ | 264 | #endif /* _ASM_X86_THREAD_INFO_H */ |
diff --git a/arch/x86/include/asm/time.h b/arch/x86/include/asm/time.h index 3e724eef7ac4..50c733aac421 100644 --- a/arch/x86/include/asm/time.h +++ b/arch/x86/include/asm/time.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__TIME_H | 1 | #ifndef _ASM_X86_TIME_H |
2 | #define ASM_X86__TIME_H | 2 | #define _ASM_X86_TIME_H |
3 | 3 | ||
4 | extern void hpet_time_init(void); | 4 | extern void hpet_time_init(void); |
5 | 5 | ||
@@ -60,4 +60,4 @@ extern void time_init(void); | |||
60 | 60 | ||
61 | extern unsigned long __init calibrate_cpu(void); | 61 | extern unsigned long __init calibrate_cpu(void); |
62 | 62 | ||
63 | #endif /* ASM_X86__TIME_H */ | 63 | #endif /* _ASM_X86_TIME_H */ |
diff --git a/arch/x86/include/asm/timer.h b/arch/x86/include/asm/timer.h index d0babce4b47a..2bb6a835c453 100644 --- a/arch/x86/include/asm/timer.h +++ b/arch/x86/include/asm/timer.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__TIMER_H | 1 | #ifndef _ASM_X86_TIMER_H |
2 | #define ASM_X86__TIMER_H | 2 | #define _ASM_X86_TIMER_H |
3 | #include <linux/init.h> | 3 | #include <linux/init.h> |
4 | #include <linux/pm.h> | 4 | #include <linux/pm.h> |
5 | #include <linux/percpu.h> | 5 | #include <linux/percpu.h> |
@@ -63,4 +63,4 @@ static inline unsigned long long cycles_2_ns(unsigned long long cyc) | |||
63 | return ns; | 63 | return ns; |
64 | } | 64 | } |
65 | 65 | ||
66 | #endif /* ASM_X86__TIMER_H */ | 66 | #endif /* _ASM_X86_TIMER_H */ |
diff --git a/arch/x86/include/asm/timex.h b/arch/x86/include/asm/timex.h index d1ce2416a5da..1287dc1347d6 100644 --- a/arch/x86/include/asm/timex.h +++ b/arch/x86/include/asm/timex.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* x86 architecture timex specifications */ | 1 | /* x86 architecture timex specifications */ |
2 | #ifndef ASM_X86__TIMEX_H | 2 | #ifndef _ASM_X86_TIMEX_H |
3 | #define ASM_X86__TIMEX_H | 3 | #define _ASM_X86_TIMEX_H |
4 | 4 | ||
5 | #include <asm/processor.h> | 5 | #include <asm/processor.h> |
6 | #include <asm/tsc.h> | 6 | #include <asm/tsc.h> |
@@ -16,4 +16,4 @@ | |||
16 | 16 | ||
17 | #define ARCH_HAS_READ_CURRENT_TIMER | 17 | #define ARCH_HAS_READ_CURRENT_TIMER |
18 | 18 | ||
19 | #endif /* ASM_X86__TIMEX_H */ | 19 | #endif /* _ASM_X86_TIMEX_H */ |
diff --git a/arch/x86/include/asm/tlb.h b/arch/x86/include/asm/tlb.h index db36e9e89e87..829215fef9ee 100644 --- a/arch/x86/include/asm/tlb.h +++ b/arch/x86/include/asm/tlb.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__TLB_H | 1 | #ifndef _ASM_X86_TLB_H |
2 | #define ASM_X86__TLB_H | 2 | #define _ASM_X86_TLB_H |
3 | 3 | ||
4 | #define tlb_start_vma(tlb, vma) do { } while (0) | 4 | #define tlb_start_vma(tlb, vma) do { } while (0) |
5 | #define tlb_end_vma(tlb, vma) do { } while (0) | 5 | #define tlb_end_vma(tlb, vma) do { } while (0) |
@@ -8,4 +8,4 @@ | |||
8 | 8 | ||
9 | #include <asm-generic/tlb.h> | 9 | #include <asm-generic/tlb.h> |
10 | 10 | ||
11 | #endif /* ASM_X86__TLB_H */ | 11 | #endif /* _ASM_X86_TLB_H */ |
diff --git a/arch/x86/include/asm/tlbflush.h b/arch/x86/include/asm/tlbflush.h index 3cdd08b5bdb7..0e7bbb549116 100644 --- a/arch/x86/include/asm/tlbflush.h +++ b/arch/x86/include/asm/tlbflush.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__TLBFLUSH_H | 1 | #ifndef _ASM_X86_TLBFLUSH_H |
2 | #define ASM_X86__TLBFLUSH_H | 2 | #define _ASM_X86_TLBFLUSH_H |
3 | 3 | ||
4 | #include <linux/mm.h> | 4 | #include <linux/mm.h> |
5 | #include <linux/sched.h> | 5 | #include <linux/sched.h> |
@@ -175,4 +175,4 @@ static inline void flush_tlb_kernel_range(unsigned long start, | |||
175 | flush_tlb_all(); | 175 | flush_tlb_all(); |
176 | } | 176 | } |
177 | 177 | ||
178 | #endif /* ASM_X86__TLBFLUSH_H */ | 178 | #endif /* _ASM_X86_TLBFLUSH_H */ |
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 7eca9bc022b2..90ac7718469a 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h | |||
@@ -22,8 +22,8 @@ | |||
22 | * | 22 | * |
23 | * Send feedback to <colpatch@us.ibm.com> | 23 | * Send feedback to <colpatch@us.ibm.com> |
24 | */ | 24 | */ |
25 | #ifndef ASM_X86__TOPOLOGY_H | 25 | #ifndef _ASM_X86_TOPOLOGY_H |
26 | #define ASM_X86__TOPOLOGY_H | 26 | #define _ASM_X86_TOPOLOGY_H |
27 | 27 | ||
28 | #ifdef CONFIG_X86_32 | 28 | #ifdef CONFIG_X86_32 |
29 | # ifdef CONFIG_X86_HT | 29 | # ifdef CONFIG_X86_HT |
@@ -255,4 +255,4 @@ static inline void set_mp_bus_to_node(int busnum, int node) | |||
255 | } | 255 | } |
256 | #endif | 256 | #endif |
257 | 257 | ||
258 | #endif /* ASM_X86__TOPOLOGY_H */ | 258 | #endif /* _ASM_X86_TOPOLOGY_H */ |
diff --git a/arch/x86/include/asm/trampoline.h b/arch/x86/include/asm/trampoline.h index 0406bbd898a9..fa0d79facdbc 100644 --- a/arch/x86/include/asm/trampoline.h +++ b/arch/x86/include/asm/trampoline.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__TRAMPOLINE_H | 1 | #ifndef _ASM_X86_TRAMPOLINE_H |
2 | #define ASM_X86__TRAMPOLINE_H | 2 | #define _ASM_X86_TRAMPOLINE_H |
3 | 3 | ||
4 | #ifndef __ASSEMBLY__ | 4 | #ifndef __ASSEMBLY__ |
5 | 5 | ||
@@ -18,4 +18,4 @@ extern unsigned long setup_trampoline(void); | |||
18 | 18 | ||
19 | #endif /* __ASSEMBLY__ */ | 19 | #endif /* __ASSEMBLY__ */ |
20 | 20 | ||
21 | #endif /* ASM_X86__TRAMPOLINE_H */ | 21 | #endif /* _ASM_X86_TRAMPOLINE_H */ |
diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h index 6c3dc2c65751..45dee286e45c 100644 --- a/arch/x86/include/asm/traps.h +++ b/arch/x86/include/asm/traps.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__TRAPS_H | 1 | #ifndef _ASM_X86_TRAPS_H |
2 | #define ASM_X86__TRAPS_H | 2 | #define _ASM_X86_TRAPS_H |
3 | 3 | ||
4 | #include <asm/debugreg.h> | 4 | #include <asm/debugreg.h> |
5 | 5 | ||
@@ -78,4 +78,4 @@ unsigned long patch_espfix_desc(unsigned long, unsigned long); | |||
78 | asmlinkage void math_emulate(long); | 78 | asmlinkage void math_emulate(long); |
79 | #endif | 79 | #endif |
80 | 80 | ||
81 | #endif /* ASM_X86__TRAPS_H */ | 81 | #endif /* _ASM_X86_TRAPS_H */ |
diff --git a/arch/x86/include/asm/tsc.h b/arch/x86/include/asm/tsc.h index ad0f5c41e78c..38ae163cc91b 100644 --- a/arch/x86/include/asm/tsc.h +++ b/arch/x86/include/asm/tsc.h | |||
@@ -1,8 +1,8 @@ | |||
1 | /* | 1 | /* |
2 | * x86 TSC related functions | 2 | * x86 TSC related functions |
3 | */ | 3 | */ |
4 | #ifndef ASM_X86__TSC_H | 4 | #ifndef _ASM_X86_TSC_H |
5 | #define ASM_X86__TSC_H | 5 | #define _ASM_X86_TSC_H |
6 | 6 | ||
7 | #include <asm/processor.h> | 7 | #include <asm/processor.h> |
8 | 8 | ||
@@ -59,4 +59,4 @@ extern void check_tsc_sync_target(void); | |||
59 | 59 | ||
60 | extern int notsc_setup(char *); | 60 | extern int notsc_setup(char *); |
61 | 61 | ||
62 | #endif /* ASM_X86__TSC_H */ | 62 | #endif /* _ASM_X86_TSC_H */ |
diff --git a/arch/x86/include/asm/types.h b/arch/x86/include/asm/types.h index e78b52e17444..e6f736320077 100644 --- a/arch/x86/include/asm/types.h +++ b/arch/x86/include/asm/types.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__TYPES_H | 1 | #ifndef _ASM_X86_TYPES_H |
2 | #define ASM_X86__TYPES_H | 2 | #define _ASM_X86_TYPES_H |
3 | 3 | ||
4 | #include <asm-generic/int-ll64.h> | 4 | #include <asm-generic/int-ll64.h> |
5 | 5 | ||
@@ -33,4 +33,4 @@ typedef u32 dma_addr_t; | |||
33 | #endif /* __ASSEMBLY__ */ | 33 | #endif /* __ASSEMBLY__ */ |
34 | #endif /* __KERNEL__ */ | 34 | #endif /* __KERNEL__ */ |
35 | 35 | ||
36 | #endif /* ASM_X86__TYPES_H */ | 36 | #endif /* _ASM_X86_TYPES_H */ |
diff --git a/arch/x86/include/asm/uaccess.h b/arch/x86/include/asm/uaccess.h index 48ebc0ad40ec..35c54921b2e4 100644 --- a/arch/x86/include/asm/uaccess.h +++ b/arch/x86/include/asm/uaccess.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__UACCESS_H | 1 | #ifndef _ASM_X86_UACCESS_H |
2 | #define ASM_X86__UACCESS_H | 2 | #define _ASM_X86_UACCESS_H |
3 | /* | 3 | /* |
4 | * User space memory access functions | 4 | * User space memory access functions |
5 | */ | 5 | */ |
@@ -450,5 +450,5 @@ extern struct movsl_mask { | |||
450 | # include "uaccess_64.h" | 450 | # include "uaccess_64.h" |
451 | #endif | 451 | #endif |
452 | 452 | ||
453 | #endif /* ASM_X86__UACCESS_H */ | 453 | #endif /* _ASM_X86_UACCESS_H */ |
454 | 454 | ||
diff --git a/arch/x86/include/asm/uaccess_32.h b/arch/x86/include/asm/uaccess_32.h index 6b5b57d9c6d1..d095a3aeea1b 100644 --- a/arch/x86/include/asm/uaccess_32.h +++ b/arch/x86/include/asm/uaccess_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__UACCESS_32_H | 1 | #ifndef _ASM_X86_UACCESS_32_H |
2 | #define ASM_X86__UACCESS_32_H | 2 | #define _ASM_X86_UACCESS_32_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * User space memory access functions | 5 | * User space memory access functions |
@@ -215,4 +215,4 @@ long strnlen_user(const char __user *str, long n); | |||
215 | unsigned long __must_check clear_user(void __user *mem, unsigned long len); | 215 | unsigned long __must_check clear_user(void __user *mem, unsigned long len); |
216 | unsigned long __must_check __clear_user(void __user *mem, unsigned long len); | 216 | unsigned long __must_check __clear_user(void __user *mem, unsigned long len); |
217 | 217 | ||
218 | #endif /* ASM_X86__UACCESS_32_H */ | 218 | #endif /* _ASM_X86_UACCESS_32_H */ |
diff --git a/arch/x86/include/asm/uaccess_64.h b/arch/x86/include/asm/uaccess_64.h index c96c1f5d07a2..664f15280f14 100644 --- a/arch/x86/include/asm/uaccess_64.h +++ b/arch/x86/include/asm/uaccess_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__UACCESS_64_H | 1 | #ifndef _ASM_X86_UACCESS_64_H |
2 | #define ASM_X86__UACCESS_64_H | 2 | #define _ASM_X86_UACCESS_64_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * User space memory access functions | 5 | * User space memory access functions |
@@ -199,4 +199,4 @@ static inline int __copy_from_user_inatomic_nocache(void *dst, | |||
199 | unsigned long | 199 | unsigned long |
200 | copy_user_handle_tail(char *to, char *from, unsigned len, unsigned zerorest); | 200 | copy_user_handle_tail(char *to, char *from, unsigned len, unsigned zerorest); |
201 | 201 | ||
202 | #endif /* ASM_X86__UACCESS_64_H */ | 202 | #endif /* _ASM_X86_UACCESS_64_H */ |
diff --git a/arch/x86/include/asm/ucontext.h b/arch/x86/include/asm/ucontext.h index 89eaa5456a7e..87324cf439d9 100644 --- a/arch/x86/include/asm/ucontext.h +++ b/arch/x86/include/asm/ucontext.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__UCONTEXT_H | 1 | #ifndef _ASM_X86_UCONTEXT_H |
2 | #define ASM_X86__UCONTEXT_H | 2 | #define _ASM_X86_UCONTEXT_H |
3 | 3 | ||
4 | #define UC_FP_XSTATE 0x1 /* indicates the presence of extended state | 4 | #define UC_FP_XSTATE 0x1 /* indicates the presence of extended state |
5 | * information in the memory layout pointed | 5 | * information in the memory layout pointed |
@@ -15,4 +15,4 @@ struct ucontext { | |||
15 | sigset_t uc_sigmask; /* mask last for extensibility */ | 15 | sigset_t uc_sigmask; /* mask last for extensibility */ |
16 | }; | 16 | }; |
17 | 17 | ||
18 | #endif /* ASM_X86__UCONTEXT_H */ | 18 | #endif /* _ASM_X86_UCONTEXT_H */ |
diff --git a/arch/x86/include/asm/unaligned.h b/arch/x86/include/asm/unaligned.h index 59dcdec37160..a7bd416b4763 100644 --- a/arch/x86/include/asm/unaligned.h +++ b/arch/x86/include/asm/unaligned.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__UNALIGNED_H | 1 | #ifndef _ASM_X86_UNALIGNED_H |
2 | #define ASM_X86__UNALIGNED_H | 2 | #define _ASM_X86_UNALIGNED_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * The x86 can do unaligned accesses itself. | 5 | * The x86 can do unaligned accesses itself. |
@@ -11,4 +11,4 @@ | |||
11 | #define get_unaligned __get_unaligned_le | 11 | #define get_unaligned __get_unaligned_le |
12 | #define put_unaligned __put_unaligned_le | 12 | #define put_unaligned __put_unaligned_le |
13 | 13 | ||
14 | #endif /* ASM_X86__UNALIGNED_H */ | 14 | #endif /* _ASM_X86_UNALIGNED_H */ |
diff --git a/arch/x86/include/asm/unistd_32.h b/arch/x86/include/asm/unistd_32.h index 017f4a87c913..f2bba78430a4 100644 --- a/arch/x86/include/asm/unistd_32.h +++ b/arch/x86/include/asm/unistd_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__UNISTD_32_H | 1 | #ifndef _ASM_X86_UNISTD_32_H |
2 | #define ASM_X86__UNISTD_32_H | 2 | #define _ASM_X86_UNISTD_32_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * This file contains the system call numbers. | 5 | * This file contains the system call numbers. |
@@ -376,4 +376,4 @@ | |||
376 | #endif | 376 | #endif |
377 | 377 | ||
378 | #endif /* __KERNEL__ */ | 378 | #endif /* __KERNEL__ */ |
379 | #endif /* ASM_X86__UNISTD_32_H */ | 379 | #endif /* _ASM_X86_UNISTD_32_H */ |
diff --git a/arch/x86/include/asm/unistd_64.h b/arch/x86/include/asm/unistd_64.h index ace83f1f6787..834b2c1d89fb 100644 --- a/arch/x86/include/asm/unistd_64.h +++ b/arch/x86/include/asm/unistd_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__UNISTD_64_H | 1 | #ifndef _ASM_X86_UNISTD_64_H |
2 | #define ASM_X86__UNISTD_64_H | 2 | #define _ASM_X86_UNISTD_64_H |
3 | 3 | ||
4 | #ifndef __SYSCALL | 4 | #ifndef __SYSCALL |
5 | #define __SYSCALL(a, b) | 5 | #define __SYSCALL(a, b) |
@@ -690,4 +690,4 @@ __SYSCALL(__NR_inotify_init1, sys_inotify_init1) | |||
690 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") | 690 | #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") |
691 | #endif /* __KERNEL__ */ | 691 | #endif /* __KERNEL__ */ |
692 | 692 | ||
693 | #endif /* ASM_X86__UNISTD_64_H */ | 693 | #endif /* _ASM_X86_UNISTD_64_H */ |
diff --git a/arch/x86/include/asm/unwind.h b/arch/x86/include/asm/unwind.h index a2151567db44..8b064bd9c553 100644 --- a/arch/x86/include/asm/unwind.h +++ b/arch/x86/include/asm/unwind.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__UNWIND_H | 1 | #ifndef _ASM_X86_UNWIND_H |
2 | #define ASM_X86__UNWIND_H | 2 | #define _ASM_X86_UNWIND_H |
3 | 3 | ||
4 | #define UNW_PC(frame) ((void)(frame), 0UL) | 4 | #define UNW_PC(frame) ((void)(frame), 0UL) |
5 | #define UNW_SP(frame) ((void)(frame), 0UL) | 5 | #define UNW_SP(frame) ((void)(frame), 0UL) |
@@ -10,4 +10,4 @@ static inline int arch_unw_user_mode(const void *info) | |||
10 | return 0; | 10 | return 0; |
11 | } | 11 | } |
12 | 12 | ||
13 | #endif /* ASM_X86__UNWIND_H */ | 13 | #endif /* _ASM_X86_UNWIND_H */ |
diff --git a/arch/x86/include/asm/user32.h b/arch/x86/include/asm/user32.h index aa66c1857f06..14cbb73ebcba 100644 --- a/arch/x86/include/asm/user32.h +++ b/arch/x86/include/asm/user32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__USER32_H | 1 | #ifndef _ASM_X86_USER32_H |
2 | #define ASM_X86__USER32_H | 2 | #define _ASM_X86_USER32_H |
3 | 3 | ||
4 | /* IA32 compatible user structures for ptrace. | 4 | /* IA32 compatible user structures for ptrace. |
5 | * These should be used for 32bit coredumps too. */ | 5 | * These should be used for 32bit coredumps too. */ |
@@ -67,4 +67,4 @@ struct user32 { | |||
67 | }; | 67 | }; |
68 | 68 | ||
69 | 69 | ||
70 | #endif /* ASM_X86__USER32_H */ | 70 | #endif /* _ASM_X86_USER32_H */ |
diff --git a/arch/x86/include/asm/user_32.h b/arch/x86/include/asm/user_32.h index e0fe2f55f1a6..bebfd8644016 100644 --- a/arch/x86/include/asm/user_32.h +++ b/arch/x86/include/asm/user_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__USER_32_H | 1 | #ifndef _ASM_X86_USER_32_H |
2 | #define ASM_X86__USER_32_H | 2 | #define _ASM_X86_USER_32_H |
3 | 3 | ||
4 | #include <asm/page.h> | 4 | #include <asm/page.h> |
5 | /* Core file format: The core file is written in such a way that gdb | 5 | /* Core file format: The core file is written in such a way that gdb |
@@ -128,4 +128,4 @@ struct user{ | |||
128 | #define HOST_TEXT_START_ADDR (u.start_code) | 128 | #define HOST_TEXT_START_ADDR (u.start_code) |
129 | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) | 129 | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
130 | 130 | ||
131 | #endif /* ASM_X86__USER_32_H */ | 131 | #endif /* _ASM_X86_USER_32_H */ |
diff --git a/arch/x86/include/asm/user_64.h b/arch/x86/include/asm/user_64.h index 38b5799863b4..faf2cd3e0d76 100644 --- a/arch/x86/include/asm/user_64.h +++ b/arch/x86/include/asm/user_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__USER_64_H | 1 | #ifndef _ASM_X86_USER_64_H |
2 | #define ASM_X86__USER_64_H | 2 | #define _ASM_X86_USER_64_H |
3 | 3 | ||
4 | #include <asm/types.h> | 4 | #include <asm/types.h> |
5 | #include <asm/page.h> | 5 | #include <asm/page.h> |
@@ -134,4 +134,4 @@ struct user { | |||
134 | #define HOST_TEXT_START_ADDR (u.start_code) | 134 | #define HOST_TEXT_START_ADDR (u.start_code) |
135 | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) | 135 | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
136 | 136 | ||
137 | #endif /* ASM_X86__USER_64_H */ | 137 | #endif /* _ASM_X86_USER_64_H */ |
diff --git a/arch/x86/include/asm/uv/bios.h b/arch/x86/include/asm/uv/bios.h index 215f1969c266..28364396cf6b 100644 --- a/arch/x86/include/asm/uv/bios.h +++ b/arch/x86/include/asm/uv/bios.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__UV__BIOS_H | 1 | #ifndef _ASM_X86_UV__BIOS_H |
2 | #define ASM_X86__UV__BIOS_H | 2 | #define _ASM_X86_UV__BIOS_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * UV BIOS layer definitions. | 5 | * UV BIOS layer definitions. |
@@ -91,4 +91,4 @@ extern long uv_region_size; | |||
91 | 91 | ||
92 | extern struct kobject *sgi_uv_kobj; /* /sys/firmware/sgi_uv */ | 92 | extern struct kobject *sgi_uv_kobj; /* /sys/firmware/sgi_uv */ |
93 | 93 | ||
94 | #endif /* ASM_X86__UV__BIOS_H */ | 94 | #endif /* _ASM_X86_UV__BIOS_H */ |
diff --git a/arch/x86/include/asm/uv/uv_bau.h b/arch/x86/include/asm/uv/uv_bau.h index 77153fb18f5e..4d632fdd3440 100644 --- a/arch/x86/include/asm/uv/uv_bau.h +++ b/arch/x86/include/asm/uv/uv_bau.h | |||
@@ -8,8 +8,8 @@ | |||
8 | * Copyright (C) 2008 Silicon Graphics, Inc. All rights reserved. | 8 | * Copyright (C) 2008 Silicon Graphics, Inc. All rights reserved. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef ASM_X86__UV__UV_BAU_H | 11 | #ifndef _ASM_X86_UV__UV_BAU_H |
12 | #define ASM_X86__UV__UV_BAU_H | 12 | #define _ASM_X86_UV__UV_BAU_H |
13 | 13 | ||
14 | #include <linux/bitmap.h> | 14 | #include <linux/bitmap.h> |
15 | #define BITSPERBYTE 8 | 15 | #define BITSPERBYTE 8 |
@@ -329,4 +329,4 @@ extern int uv_flush_tlb_others(cpumask_t *, struct mm_struct *, unsigned long); | |||
329 | extern void uv_bau_message_intr1(void); | 329 | extern void uv_bau_message_intr1(void); |
330 | extern void uv_bau_timeout_intr1(void); | 330 | extern void uv_bau_timeout_intr1(void); |
331 | 331 | ||
332 | #endif /* ASM_X86__UV__UV_BAU_H */ | 332 | #endif /* _ASM_X86_UV__UV_BAU_H */ |
diff --git a/arch/x86/include/asm/uv/uv_hub.h b/arch/x86/include/asm/uv/uv_hub.h index bdb5b01afbf5..126fafa13d56 100644 --- a/arch/x86/include/asm/uv/uv_hub.h +++ b/arch/x86/include/asm/uv/uv_hub.h | |||
@@ -8,8 +8,8 @@ | |||
8 | * Copyright (C) 2007-2008 Silicon Graphics, Inc. All rights reserved. | 8 | * Copyright (C) 2007-2008 Silicon Graphics, Inc. All rights reserved. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef ASM_X86__UV__UV_HUB_H | 11 | #ifndef _ASM_X86_UV__UV_HUB_H |
12 | #define ASM_X86__UV__UV_HUB_H | 12 | #define _ASM_X86_UV__UV_HUB_H |
13 | 13 | ||
14 | #include <linux/numa.h> | 14 | #include <linux/numa.h> |
15 | #include <linux/percpu.h> | 15 | #include <linux/percpu.h> |
@@ -350,5 +350,5 @@ static inline int uv_num_possible_blades(void) | |||
350 | return uv_possible_blades; | 350 | return uv_possible_blades; |
351 | } | 351 | } |
352 | 352 | ||
353 | #endif /* ASM_X86__UV__UV_HUB_H */ | 353 | #endif /* _ASM_X86_UV__UV_HUB_H */ |
354 | 354 | ||
diff --git a/arch/x86/include/asm/uv/uv_irq.h b/arch/x86/include/asm/uv/uv_irq.h index 8bf5f32da9c6..8502826dce2f 100644 --- a/arch/x86/include/asm/uv/uv_irq.h +++ b/arch/x86/include/asm/uv/uv_irq.h | |||
@@ -8,8 +8,8 @@ | |||
8 | * Copyright (C) 2008 Silicon Graphics, Inc. All rights reserved. | 8 | * Copyright (C) 2008 Silicon Graphics, Inc. All rights reserved. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef ASM_X86__UV__UV_IRQ_H | 11 | #ifndef _ASM_X86_UV__UV_IRQ_H |
12 | #define ASM_X86__UV__UV_IRQ_H | 12 | #define _ASM_X86_UV__UV_IRQ_H |
13 | 13 | ||
14 | /* If a generic version of this structure gets defined, eliminate this one. */ | 14 | /* If a generic version of this structure gets defined, eliminate this one. */ |
15 | struct uv_IO_APIC_route_entry { | 15 | struct uv_IO_APIC_route_entry { |
@@ -33,4 +33,4 @@ extern void arch_disable_uv_irq(int, unsigned long); | |||
33 | extern int uv_setup_irq(char *, int, int, unsigned long); | 33 | extern int uv_setup_irq(char *, int, int, unsigned long); |
34 | extern void uv_teardown_irq(unsigned int, int, unsigned long); | 34 | extern void uv_teardown_irq(unsigned int, int, unsigned long); |
35 | 35 | ||
36 | #endif /* ASM_X86__UV__UV_IRQ_H */ | 36 | #endif /* _ASM_X86_UV__UV_IRQ_H */ |
diff --git a/arch/x86/include/asm/uv/uv_mmrs.h b/arch/x86/include/asm/uv/uv_mmrs.h index 8b03d89d2459..9ce9ba57f014 100644 --- a/arch/x86/include/asm/uv/uv_mmrs.h +++ b/arch/x86/include/asm/uv/uv_mmrs.h | |||
@@ -8,8 +8,8 @@ | |||
8 | * Copyright (C) 2007-2008 Silicon Graphics, Inc. All rights reserved. | 8 | * Copyright (C) 2007-2008 Silicon Graphics, Inc. All rights reserved. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #ifndef ASM_X86__UV__UV_MMRS_H | 11 | #ifndef _ASM_X86_UV__UV_MMRS_H |
12 | #define ASM_X86__UV__UV_MMRS_H | 12 | #define _ASM_X86_UV__UV_MMRS_H |
13 | 13 | ||
14 | #define UV_MMR_ENABLE (1UL << 63) | 14 | #define UV_MMR_ENABLE (1UL << 63) |
15 | 15 | ||
@@ -1292,4 +1292,4 @@ union uvh_si_alias2_overlay_config_u { | |||
1292 | }; | 1292 | }; |
1293 | 1293 | ||
1294 | 1294 | ||
1295 | #endif /* ASM_X86__UV__UV_MMRS_H */ | 1295 | #endif /* _ASM_X86_UV__UV_MMRS_H */ |
diff --git a/arch/x86/include/asm/vdso.h b/arch/x86/include/asm/vdso.h index 4ab320913ea3..9064052b73de 100644 --- a/arch/x86/include/asm/vdso.h +++ b/arch/x86/include/asm/vdso.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__VDSO_H | 1 | #ifndef _ASM_X86_VDSO_H |
2 | #define ASM_X86__VDSO_H | 2 | #define _ASM_X86_VDSO_H |
3 | 3 | ||
4 | #ifdef CONFIG_X86_64 | 4 | #ifdef CONFIG_X86_64 |
5 | extern const char VDSO64_PRELINK[]; | 5 | extern const char VDSO64_PRELINK[]; |
@@ -44,4 +44,4 @@ extern const char vdso32_int80_start, vdso32_int80_end; | |||
44 | extern const char vdso32_syscall_start, vdso32_syscall_end; | 44 | extern const char vdso32_syscall_start, vdso32_syscall_end; |
45 | extern const char vdso32_sysenter_start, vdso32_sysenter_end; | 45 | extern const char vdso32_sysenter_start, vdso32_sysenter_end; |
46 | 46 | ||
47 | #endif /* ASM_X86__VDSO_H */ | 47 | #endif /* _ASM_X86_VDSO_H */ |
diff --git a/arch/x86/include/asm/vga.h b/arch/x86/include/asm/vga.h index b9e493d07d07..c4b9dc2f67c5 100644 --- a/arch/x86/include/asm/vga.h +++ b/arch/x86/include/asm/vga.h | |||
@@ -4,8 +4,8 @@ | |||
4 | * (c) 1998 Martin Mares <mj@ucw.cz> | 4 | * (c) 1998 Martin Mares <mj@ucw.cz> |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #ifndef ASM_X86__VGA_H | 7 | #ifndef _ASM_X86_VGA_H |
8 | #define ASM_X86__VGA_H | 8 | #define _ASM_X86_VGA_H |
9 | 9 | ||
10 | /* | 10 | /* |
11 | * On the PC, we can just recalculate addresses and then | 11 | * On the PC, we can just recalculate addresses and then |
@@ -17,4 +17,4 @@ | |||
17 | #define vga_readb(x) (*(x)) | 17 | #define vga_readb(x) (*(x)) |
18 | #define vga_writeb(x, y) (*(y) = (x)) | 18 | #define vga_writeb(x, y) (*(y) = (x)) |
19 | 19 | ||
20 | #endif /* ASM_X86__VGA_H */ | 20 | #endif /* _ASM_X86_VGA_H */ |
diff --git a/arch/x86/include/asm/vgtod.h b/arch/x86/include/asm/vgtod.h index 38fd13364021..dc27a69e5d2a 100644 --- a/arch/x86/include/asm/vgtod.h +++ b/arch/x86/include/asm/vgtod.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__VGTOD_H | 1 | #ifndef _ASM_X86_VGTOD_H |
2 | #define ASM_X86__VGTOD_H | 2 | #define _ASM_X86_VGTOD_H |
3 | 3 | ||
4 | #include <asm/vsyscall.h> | 4 | #include <asm/vsyscall.h> |
5 | #include <linux/clocksource.h> | 5 | #include <linux/clocksource.h> |
@@ -26,4 +26,4 @@ extern struct vsyscall_gtod_data __vsyscall_gtod_data | |||
26 | __section_vsyscall_gtod_data; | 26 | __section_vsyscall_gtod_data; |
27 | extern struct vsyscall_gtod_data vsyscall_gtod_data; | 27 | extern struct vsyscall_gtod_data vsyscall_gtod_data; |
28 | 28 | ||
29 | #endif /* ASM_X86__VGTOD_H */ | 29 | #endif /* _ASM_X86_VGTOD_H */ |
diff --git a/arch/x86/include/asm/visws/cobalt.h b/arch/x86/include/asm/visws/cobalt.h index 9627a8fe84e9..0cc20f3ad714 100644 --- a/arch/x86/include/asm/visws/cobalt.h +++ b/arch/x86/include/asm/visws/cobalt.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__VISWS__COBALT_H | 1 | #ifndef _ASM_X86_VISWS__COBALT_H |
2 | #define ASM_X86__VISWS__COBALT_H | 2 | #define _ASM_X86_VISWS__COBALT_H |
3 | 3 | ||
4 | #include <asm/fixmap.h> | 4 | #include <asm/fixmap.h> |
5 | 5 | ||
@@ -122,4 +122,4 @@ extern char visws_board_type; | |||
122 | 122 | ||
123 | extern char visws_board_rev; | 123 | extern char visws_board_rev; |
124 | 124 | ||
125 | #endif /* ASM_X86__VISWS__COBALT_H */ | 125 | #endif /* _ASM_X86_VISWS__COBALT_H */ |
diff --git a/arch/x86/include/asm/visws/lithium.h b/arch/x86/include/asm/visws/lithium.h index b36d3b378c63..1163e518b61a 100644 --- a/arch/x86/include/asm/visws/lithium.h +++ b/arch/x86/include/asm/visws/lithium.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__VISWS__LITHIUM_H | 1 | #ifndef _ASM_X86_VISWS__LITHIUM_H |
2 | #define ASM_X86__VISWS__LITHIUM_H | 2 | #define _ASM_X86_VISWS__LITHIUM_H |
3 | 3 | ||
4 | #include <asm/fixmap.h> | 4 | #include <asm/fixmap.h> |
5 | 5 | ||
@@ -49,5 +49,5 @@ static inline unsigned short li_pcib_read16(unsigned long reg) | |||
49 | return *((volatile unsigned short *)(LI_PCIB_VADDR+reg)); | 49 | return *((volatile unsigned short *)(LI_PCIB_VADDR+reg)); |
50 | } | 50 | } |
51 | 51 | ||
52 | #endif /* ASM_X86__VISWS__LITHIUM_H */ | 52 | #endif /* _ASM_X86_VISWS__LITHIUM_H */ |
53 | 53 | ||
diff --git a/arch/x86/include/asm/visws/piix4.h b/arch/x86/include/asm/visws/piix4.h index 61c938045ec9..80d376ef8880 100644 --- a/arch/x86/include/asm/visws/piix4.h +++ b/arch/x86/include/asm/visws/piix4.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__VISWS__PIIX4_H | 1 | #ifndef _ASM_X86_VISWS__PIIX4_H |
2 | #define ASM_X86__VISWS__PIIX4_H | 2 | #define _ASM_X86_VISWS__PIIX4_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * PIIX4 as used on SGI Visual Workstations | 5 | * PIIX4 as used on SGI Visual Workstations |
@@ -104,4 +104,4 @@ | |||
104 | */ | 104 | */ |
105 | #define PIIX_GPI_STPCLK 0x4 // STPCLK signal routed back in | 105 | #define PIIX_GPI_STPCLK 0x4 // STPCLK signal routed back in |
106 | 106 | ||
107 | #endif /* ASM_X86__VISWS__PIIX4_H */ | 107 | #endif /* _ASM_X86_VISWS__PIIX4_H */ |
diff --git a/arch/x86/include/asm/vm86.h b/arch/x86/include/asm/vm86.h index 998bd18eb737..f9303602fbc0 100644 --- a/arch/x86/include/asm/vm86.h +++ b/arch/x86/include/asm/vm86.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__VM86_H | 1 | #ifndef _ASM_X86_VM86_H |
2 | #define ASM_X86__VM86_H | 2 | #define _ASM_X86_VM86_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * I'm guessing at the VIF/VIP flag usage, but hope that this is how | 5 | * I'm guessing at the VIF/VIP flag usage, but hope that this is how |
@@ -205,4 +205,4 @@ static inline int handle_vm86_trap(struct kernel_vm86_regs *a, long b, int c) | |||
205 | 205 | ||
206 | #endif /* __KERNEL__ */ | 206 | #endif /* __KERNEL__ */ |
207 | 207 | ||
208 | #endif /* ASM_X86__VM86_H */ | 208 | #endif /* _ASM_X86_VM86_H */ |
diff --git a/arch/x86/include/asm/vmi_time.h b/arch/x86/include/asm/vmi_time.h index b2d39e6a08b7..c6e0bee93e3c 100644 --- a/arch/x86/include/asm/vmi_time.h +++ b/arch/x86/include/asm/vmi_time.h | |||
@@ -22,8 +22,8 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef ASM_X86__VMI_TIME_H | 25 | #ifndef _ASM_X86_VMI_TIME_H |
26 | #define ASM_X86__VMI_TIME_H | 26 | #define _ASM_X86_VMI_TIME_H |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Raw VMI call indices for timer functions | 29 | * Raw VMI call indices for timer functions |
@@ -95,4 +95,4 @@ extern void __devinit vmi_time_ap_init(void); | |||
95 | 95 | ||
96 | #define CONFIG_VMI_ALARM_HZ 100 | 96 | #define CONFIG_VMI_ALARM_HZ 100 |
97 | 97 | ||
98 | #endif /* ASM_X86__VMI_TIME_H */ | 98 | #endif /* _ASM_X86_VMI_TIME_H */ |
diff --git a/arch/x86/include/asm/vsyscall.h b/arch/x86/include/asm/vsyscall.h index dcd4682413de..d0983d255fbd 100644 --- a/arch/x86/include/asm/vsyscall.h +++ b/arch/x86/include/asm/vsyscall.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__VSYSCALL_H | 1 | #ifndef _ASM_X86_VSYSCALL_H |
2 | #define ASM_X86__VSYSCALL_H | 2 | #define _ASM_X86_VSYSCALL_H |
3 | 3 | ||
4 | enum vsyscall_num { | 4 | enum vsyscall_num { |
5 | __NR_vgettimeofday, | 5 | __NR_vgettimeofday, |
@@ -41,4 +41,4 @@ extern void map_vsyscall(void); | |||
41 | 41 | ||
42 | #endif /* __KERNEL__ */ | 42 | #endif /* __KERNEL__ */ |
43 | 43 | ||
44 | #endif /* ASM_X86__VSYSCALL_H */ | 44 | #endif /* _ASM_X86_VSYSCALL_H */ |
diff --git a/arch/x86/include/asm/xen/events.h b/arch/x86/include/asm/xen/events.h index 8151f5b8b6cb..ae3c9ada14b2 100644 --- a/arch/x86/include/asm/xen/events.h +++ b/arch/x86/include/asm/xen/events.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__XEN__EVENTS_H | 1 | #ifndef _ASM_X86_XEN__EVENTS_H |
2 | #define ASM_X86__XEN__EVENTS_H | 2 | #define _ASM_X86_XEN__EVENTS_H |
3 | 3 | ||
4 | enum ipi_vector { | 4 | enum ipi_vector { |
5 | XEN_RESCHEDULE_VECTOR, | 5 | XEN_RESCHEDULE_VECTOR, |
@@ -21,4 +21,4 @@ static inline void xen_do_IRQ(int irq, struct pt_regs *regs) | |||
21 | do_IRQ(regs); | 21 | do_IRQ(regs); |
22 | } | 22 | } |
23 | 23 | ||
24 | #endif /* ASM_X86__XEN__EVENTS_H */ | 24 | #endif /* _ASM_X86_XEN__EVENTS_H */ |
diff --git a/arch/x86/include/asm/xen/grant_table.h b/arch/x86/include/asm/xen/grant_table.h index c4baab4d2b68..6d55da987250 100644 --- a/arch/x86/include/asm/xen/grant_table.h +++ b/arch/x86/include/asm/xen/grant_table.h | |||
@@ -1,7 +1,7 @@ | |||
1 | #ifndef ASM_X86__XEN__GRANT_TABLE_H | 1 | #ifndef _ASM_X86_XEN__GRANT_TABLE_H |
2 | #define ASM_X86__XEN__GRANT_TABLE_H | 2 | #define _ASM_X86_XEN__GRANT_TABLE_H |
3 | 3 | ||
4 | #define xen_alloc_vm_area(size) alloc_vm_area(size) | 4 | #define xen_alloc_vm_area(size) alloc_vm_area(size) |
5 | #define xen_free_vm_area(area) free_vm_area(area) | 5 | #define xen_free_vm_area(area) free_vm_area(area) |
6 | 6 | ||
7 | #endif /* ASM_X86__XEN__GRANT_TABLE_H */ | 7 | #endif /* _ASM_X86_XEN__GRANT_TABLE_H */ |
diff --git a/arch/x86/include/asm/xen/hypercall.h b/arch/x86/include/asm/xen/hypercall.h index 44f4259bee3f..7c1192ad7902 100644 --- a/arch/x86/include/asm/xen/hypercall.h +++ b/arch/x86/include/asm/xen/hypercall.h | |||
@@ -30,8 +30,8 @@ | |||
30 | * IN THE SOFTWARE. | 30 | * IN THE SOFTWARE. |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #ifndef ASM_X86__XEN__HYPERCALL_H | 33 | #ifndef _ASM_X86_XEN__HYPERCALL_H |
34 | #define ASM_X86__XEN__HYPERCALL_H | 34 | #define _ASM_X86_XEN__HYPERCALL_H |
35 | 35 | ||
36 | #include <linux/errno.h> | 36 | #include <linux/errno.h> |
37 | #include <linux/string.h> | 37 | #include <linux/string.h> |
@@ -524,4 +524,4 @@ MULTI_stack_switch(struct multicall_entry *mcl, | |||
524 | mcl->args[1] = esp; | 524 | mcl->args[1] = esp; |
525 | } | 525 | } |
526 | 526 | ||
527 | #endif /* ASM_X86__XEN__HYPERCALL_H */ | 527 | #endif /* _ASM_X86_XEN__HYPERCALL_H */ |
diff --git a/arch/x86/include/asm/xen/hypervisor.h b/arch/x86/include/asm/xen/hypervisor.h index 445a24759560..ff60551a67b5 100644 --- a/arch/x86/include/asm/xen/hypervisor.h +++ b/arch/x86/include/asm/xen/hypervisor.h | |||
@@ -30,8 +30,8 @@ | |||
30 | * IN THE SOFTWARE. | 30 | * IN THE SOFTWARE. |
31 | */ | 31 | */ |
32 | 32 | ||
33 | #ifndef ASM_X86__XEN__HYPERVISOR_H | 33 | #ifndef _ASM_X86_XEN__HYPERVISOR_H |
34 | #define ASM_X86__XEN__HYPERVISOR_H | 34 | #define _ASM_X86_XEN__HYPERVISOR_H |
35 | 35 | ||
36 | #include <linux/types.h> | 36 | #include <linux/types.h> |
37 | #include <linux/kernel.h> | 37 | #include <linux/kernel.h> |
@@ -79,4 +79,4 @@ extern enum xen_domain_type xen_domain_type; | |||
79 | #define xen_initial_domain() (xen_pv_domain() && xen_start_info->flags & SIF_INITDOMAIN) | 79 | #define xen_initial_domain() (xen_pv_domain() && xen_start_info->flags & SIF_INITDOMAIN) |
80 | #define xen_hvm_domain() (xen_domain_type == XEN_HVM_DOMAIN) | 80 | #define xen_hvm_domain() (xen_domain_type == XEN_HVM_DOMAIN) |
81 | 81 | ||
82 | #endif /* ASM_X86__XEN__HYPERVISOR_H */ | 82 | #endif /* _ASM_X86_XEN__HYPERVISOR_H */ |
diff --git a/arch/x86/include/asm/xen/interface.h b/arch/x86/include/asm/xen/interface.h index d077bba96da9..6cfc896e335e 100644 --- a/arch/x86/include/asm/xen/interface.h +++ b/arch/x86/include/asm/xen/interface.h | |||
@@ -6,8 +6,8 @@ | |||
6 | * Copyright (c) 2004, K A Fraser | 6 | * Copyright (c) 2004, K A Fraser |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #ifndef ASM_X86__XEN__INTERFACE_H | 9 | #ifndef _ASM_X86_XEN__INTERFACE_H |
10 | #define ASM_X86__XEN__INTERFACE_H | 10 | #define _ASM_X86_XEN__INTERFACE_H |
11 | 11 | ||
12 | #ifdef __XEN__ | 12 | #ifdef __XEN__ |
13 | #define __DEFINE_GUEST_HANDLE(name, type) \ | 13 | #define __DEFINE_GUEST_HANDLE(name, type) \ |
@@ -172,4 +172,4 @@ DEFINE_GUEST_HANDLE_STRUCT(vcpu_guest_context); | |||
172 | #define XEN_CPUID XEN_EMULATE_PREFIX "cpuid" | 172 | #define XEN_CPUID XEN_EMULATE_PREFIX "cpuid" |
173 | #endif | 173 | #endif |
174 | 174 | ||
175 | #endif /* ASM_X86__XEN__INTERFACE_H */ | 175 | #endif /* _ASM_X86_XEN__INTERFACE_H */ |
diff --git a/arch/x86/include/asm/xen/interface_32.h b/arch/x86/include/asm/xen/interface_32.h index 08167e19fc66..a5377d4a8b7e 100644 --- a/arch/x86/include/asm/xen/interface_32.h +++ b/arch/x86/include/asm/xen/interface_32.h | |||
@@ -6,8 +6,8 @@ | |||
6 | * Copyright (c) 2004, K A Fraser | 6 | * Copyright (c) 2004, K A Fraser |
7 | */ | 7 | */ |
8 | 8 | ||
9 | #ifndef ASM_X86__XEN__INTERFACE_32_H | 9 | #ifndef _ASM_X86_XEN__INTERFACE_32_H |
10 | #define ASM_X86__XEN__INTERFACE_32_H | 10 | #define _ASM_X86_XEN__INTERFACE_32_H |
11 | 11 | ||
12 | 12 | ||
13 | /* | 13 | /* |
@@ -94,4 +94,4 @@ typedef struct xen_callback xen_callback_t; | |||
94 | #define xen_pfn_to_cr3(pfn) (((unsigned)(pfn) << 12) | ((unsigned)(pfn) >> 20)) | 94 | #define xen_pfn_to_cr3(pfn) (((unsigned)(pfn) << 12) | ((unsigned)(pfn) >> 20)) |
95 | #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) | 95 | #define xen_cr3_to_pfn(cr3) (((unsigned)(cr3) >> 12) | ((unsigned)(cr3) << 20)) |
96 | 96 | ||
97 | #endif /* ASM_X86__XEN__INTERFACE_32_H */ | 97 | #endif /* _ASM_X86_XEN__INTERFACE_32_H */ |
diff --git a/arch/x86/include/asm/xen/interface_64.h b/arch/x86/include/asm/xen/interface_64.h index 046c0f1e01d4..21373e7a7dd5 100644 --- a/arch/x86/include/asm/xen/interface_64.h +++ b/arch/x86/include/asm/xen/interface_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__XEN__INTERFACE_64_H | 1 | #ifndef _ASM_X86_XEN__INTERFACE_64_H |
2 | #define ASM_X86__XEN__INTERFACE_64_H | 2 | #define _ASM_X86_XEN__INTERFACE_64_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * 64-bit segment selectors | 5 | * 64-bit segment selectors |
@@ -156,4 +156,4 @@ typedef unsigned long xen_callback_t; | |||
156 | #endif /* !__ASSEMBLY__ */ | 156 | #endif /* !__ASSEMBLY__ */ |
157 | 157 | ||
158 | 158 | ||
159 | #endif /* ASM_X86__XEN__INTERFACE_64_H */ | 159 | #endif /* _ASM_X86_XEN__INTERFACE_64_H */ |
diff --git a/arch/x86/include/asm/xen/page.h b/arch/x86/include/asm/xen/page.h index d5eada0a48d9..4f483e4fcab3 100644 --- a/arch/x86/include/asm/xen/page.h +++ b/arch/x86/include/asm/xen/page.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__XEN__PAGE_H | 1 | #ifndef _ASM_X86_XEN__PAGE_H |
2 | #define ASM_X86__XEN__PAGE_H | 2 | #define _ASM_X86_XEN__PAGE_H |
3 | 3 | ||
4 | #include <linux/pfn.h> | 4 | #include <linux/pfn.h> |
5 | 5 | ||
@@ -162,4 +162,4 @@ xmaddr_t arbitrary_virt_to_machine(void *address); | |||
162 | void make_lowmem_page_readonly(void *vaddr); | 162 | void make_lowmem_page_readonly(void *vaddr); |
163 | void make_lowmem_page_readwrite(void *vaddr); | 163 | void make_lowmem_page_readwrite(void *vaddr); |
164 | 164 | ||
165 | #endif /* ASM_X86__XEN__PAGE_H */ | 165 | #endif /* _ASM_X86_XEN__PAGE_H */ |
diff --git a/arch/x86/include/asm/xor_32.h b/arch/x86/include/asm/xor_32.h index 921b45840449..133b40a0f495 100644 --- a/arch/x86/include/asm/xor_32.h +++ b/arch/x86/include/asm/xor_32.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__XOR_32_H | 1 | #ifndef _ASM_X86_XOR_32_H |
2 | #define ASM_X86__XOR_32_H | 2 | #define _ASM_X86_XOR_32_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Optimized RAID-5 checksumming functions for MMX and SSE. | 5 | * Optimized RAID-5 checksumming functions for MMX and SSE. |
@@ -885,4 +885,4 @@ do { \ | |||
885 | #define XOR_SELECT_TEMPLATE(FASTEST) \ | 885 | #define XOR_SELECT_TEMPLATE(FASTEST) \ |
886 | (cpu_has_xmm ? &xor_block_pIII_sse : FASTEST) | 886 | (cpu_has_xmm ? &xor_block_pIII_sse : FASTEST) |
887 | 887 | ||
888 | #endif /* ASM_X86__XOR_32_H */ | 888 | #endif /* _ASM_X86_XOR_32_H */ |
diff --git a/arch/x86/include/asm/xor_64.h b/arch/x86/include/asm/xor_64.h index 2d3a18de295b..1549b5e261f6 100644 --- a/arch/x86/include/asm/xor_64.h +++ b/arch/x86/include/asm/xor_64.h | |||
@@ -1,5 +1,5 @@ | |||
1 | #ifndef ASM_X86__XOR_64_H | 1 | #ifndef _ASM_X86_XOR_64_H |
2 | #define ASM_X86__XOR_64_H | 2 | #define _ASM_X86_XOR_64_H |
3 | 3 | ||
4 | /* | 4 | /* |
5 | * Optimized RAID-5 checksumming functions for MMX and SSE. | 5 | * Optimized RAID-5 checksumming functions for MMX and SSE. |
@@ -358,4 +358,4 @@ do { \ | |||
358 | deals with a load to a line that is being prefetched. */ | 358 | deals with a load to a line that is being prefetched. */ |
359 | #define XOR_SELECT_TEMPLATE(FASTEST) (&xor_block_sse) | 359 | #define XOR_SELECT_TEMPLATE(FASTEST) (&xor_block_sse) |
360 | 360 | ||
361 | #endif /* ASM_X86__XOR_64_H */ | 361 | #endif /* _ASM_X86_XOR_64_H */ |