diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 03:01:39 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 03:01:39 -0400 |
commit | 05e4d3169bd16229d84a2ef095e1ba2cd3873baa (patch) | |
tree | 4046f086ce649f3bd28e9de9a3bdd4092e1395c1 /arch/x86/include/asm/mach-generic | |
parent | 1965aae3c98397aad957412413c07e97b1bd4e64 (diff) |
x86: drop double underscores from header guards
Drop double underscores from header guards in arch/x86/include. They
are used inconsistently, and are not necessary.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/mach-generic')
-rw-r--r-- | arch/x86/include/asm/mach-generic/gpio.h | 6 | ||||
-rw-r--r-- | arch/x86/include/asm/mach-generic/mach_apic.h | 6 | ||||
-rw-r--r-- | arch/x86/include/asm/mach-generic/mach_apicdef.h | 6 | ||||
-rw-r--r-- | arch/x86/include/asm/mach-generic/mach_ipi.h | 6 | ||||
-rw-r--r-- | arch/x86/include/asm/mach-generic/mach_mpparse.h | 6 | ||||
-rw-r--r-- | arch/x86/include/asm/mach-generic/mach_mpspec.h | 6 |
6 files changed, 18 insertions, 18 deletions
diff --git a/arch/x86/include/asm/mach-generic/gpio.h b/arch/x86/include/asm/mach-generic/gpio.h index 5fef612df2c6..995c45efdb33 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 81668b3905a5..5180bd7478fb 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 b2eaf1e654ab..68041f3802f4 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 fe430df5536a..ffd637e3c3d9 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 aed9f856da89..048f1d468535 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 ec615de0574e..bbab5ccfd4fe 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 */ |