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>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef ASM_X86__VISWS__COBALT_H
|
||||
#define ASM_X86__VISWS__COBALT_H
|
||||
#ifndef _ASM_X86_VISWS__COBALT_H
|
||||
#define _ASM_X86_VISWS__COBALT_H
|
||||
|
||||
#include <asm/fixmap.h>
|
||||
|
||||
@@ -122,4 +122,4 @@ extern char visws_board_type;
|
||||
|
||||
extern char visws_board_rev;
|
||||
|
||||
#endif /* ASM_X86__VISWS__COBALT_H */
|
||||
#endif /* _ASM_X86_VISWS__COBALT_H */
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#ifndef ASM_X86__VISWS__LITHIUM_H
|
||||
#define ASM_X86__VISWS__LITHIUM_H
|
||||
#ifndef _ASM_X86_VISWS__LITHIUM_H
|
||||
#define _ASM_X86_VISWS__LITHIUM_H
|
||||
|
||||
#include <asm/fixmap.h>
|
||||
|
||||
@@ -49,5 +49,5 @@ static inline unsigned short li_pcib_read16(unsigned long reg)
|
||||
return *((volatile unsigned short *)(LI_PCIB_VADDR+reg));
|
||||
}
|
||||
|
||||
#endif /* ASM_X86__VISWS__LITHIUM_H */
|
||||
#endif /* _ASM_X86_VISWS__LITHIUM_H */
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
#ifndef ASM_X86__VISWS__PIIX4_H
|
||||
#define ASM_X86__VISWS__PIIX4_H
|
||||
#ifndef _ASM_X86_VISWS__PIIX4_H
|
||||
#define _ASM_X86_VISWS__PIIX4_H
|
||||
|
||||
/*
|
||||
* PIIX4 as used on SGI Visual Workstations
|
||||
@@ -104,4 +104,4 @@
|
||||
*/
|
||||
#define PIIX_GPI_STPCLK 0x4 // STPCLK signal routed back in
|
||||
|
||||
#endif /* ASM_X86__VISWS__PIIX4_H */
|
||||
#endif /* _ASM_X86_VISWS__PIIX4_H */
|
||||
|
Reference in New Issue
Block a user