diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 01:26:29 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 01:55:23 -0400 |
commit | 1965aae3c98397aad957412413c07e97b1bd4e64 (patch) | |
tree | 1386fcb54753f8dda8f99ca6e5ecab0add1f029f /arch/x86/include/asm/visws | |
parent | 87e299e5c7508a9443f04703f1d0c7f518f79ea9 (diff) |
x86: Fix ASM_X86__ header guards
Change header guards named "ASM_X86__*" to "_ASM_X86_*" since:
a. the double underscore is ugly and pointless.
b. no leading underscore violates namespace constraints.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/x86/include/asm/visws')
-rw-r--r-- | arch/x86/include/asm/visws/cobalt.h | 6 | ||||
-rw-r--r-- | arch/x86/include/asm/visws/lithium.h | 6 | ||||
-rw-r--r-- | arch/x86/include/asm/visws/piix4.h | 6 |
3 files changed, 9 insertions, 9 deletions
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 */ |