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__UV__BIOS_H
|
||||
#define ASM_X86__UV__BIOS_H
|
||||
#ifndef _ASM_X86_UV__BIOS_H
|
||||
#define _ASM_X86_UV__BIOS_H
|
||||
|
||||
/*
|
||||
* UV BIOS layer definitions.
|
||||
@@ -91,4 +91,4 @@ extern long uv_region_size;
|
||||
|
||||
extern struct kobject *sgi_uv_kobj; /* /sys/firmware/sgi_uv */
|
||||
|
||||
#endif /* ASM_X86__UV__BIOS_H */
|
||||
#endif /* _ASM_X86_UV__BIOS_H */
|
||||
|
@@ -8,8 +8,8 @@
|
||||
* Copyright (C) 2008 Silicon Graphics, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef ASM_X86__UV__UV_BAU_H
|
||||
#define ASM_X86__UV__UV_BAU_H
|
||||
#ifndef _ASM_X86_UV__UV_BAU_H
|
||||
#define _ASM_X86_UV__UV_BAU_H
|
||||
|
||||
#include <linux/bitmap.h>
|
||||
#define BITSPERBYTE 8
|
||||
@@ -329,4 +329,4 @@ extern int uv_flush_tlb_others(cpumask_t *, struct mm_struct *, unsigned long);
|
||||
extern void uv_bau_message_intr1(void);
|
||||
extern void uv_bau_timeout_intr1(void);
|
||||
|
||||
#endif /* ASM_X86__UV__UV_BAU_H */
|
||||
#endif /* _ASM_X86_UV__UV_BAU_H */
|
||||
|
@@ -8,8 +8,8 @@
|
||||
* Copyright (C) 2007-2008 Silicon Graphics, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef ASM_X86__UV__UV_HUB_H
|
||||
#define ASM_X86__UV__UV_HUB_H
|
||||
#ifndef _ASM_X86_UV__UV_HUB_H
|
||||
#define _ASM_X86_UV__UV_HUB_H
|
||||
|
||||
#include <linux/numa.h>
|
||||
#include <linux/percpu.h>
|
||||
@@ -350,5 +350,5 @@ static inline int uv_num_possible_blades(void)
|
||||
return uv_possible_blades;
|
||||
}
|
||||
|
||||
#endif /* ASM_X86__UV__UV_HUB_H */
|
||||
#endif /* _ASM_X86_UV__UV_HUB_H */
|
||||
|
||||
|
@@ -8,8 +8,8 @@
|
||||
* Copyright (C) 2008 Silicon Graphics, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef ASM_X86__UV__UV_IRQ_H
|
||||
#define ASM_X86__UV__UV_IRQ_H
|
||||
#ifndef _ASM_X86_UV__UV_IRQ_H
|
||||
#define _ASM_X86_UV__UV_IRQ_H
|
||||
|
||||
/* If a generic version of this structure gets defined, eliminate this one. */
|
||||
struct uv_IO_APIC_route_entry {
|
||||
@@ -33,4 +33,4 @@ extern void arch_disable_uv_irq(int, unsigned long);
|
||||
extern int uv_setup_irq(char *, int, int, unsigned long);
|
||||
extern void uv_teardown_irq(unsigned int, int, unsigned long);
|
||||
|
||||
#endif /* ASM_X86__UV__UV_IRQ_H */
|
||||
#endif /* _ASM_X86_UV__UV_IRQ_H */
|
||||
|
@@ -8,8 +8,8 @@
|
||||
* Copyright (C) 2007-2008 Silicon Graphics, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef ASM_X86__UV__UV_MMRS_H
|
||||
#define ASM_X86__UV__UV_MMRS_H
|
||||
#ifndef _ASM_X86_UV__UV_MMRS_H
|
||||
#define _ASM_X86_UV__UV_MMRS_H
|
||||
|
||||
#define UV_MMR_ENABLE (1UL << 63)
|
||||
|
||||
@@ -1292,4 +1292,4 @@ union uvh_si_alias2_overlay_config_u {
|
||||
};
|
||||
|
||||
|
||||
#endif /* ASM_X86__UV__UV_MMRS_H */
|
||||
#endif /* _ASM_X86_UV__UV_MMRS_H */
|
||||
|
Reference in New Issue
Block a user