diff options
| author | Vegard Nossum <vegard.nossum@gmail.com> | 2008-06-18 11:08:48 -0400 |
|---|---|---|
| committer | Vegard Nossum <vegard.nossum@gmail.com> | 2008-07-22 15:31:34 -0400 |
| commit | 77ef50a522717fa040636ee1017179ceba12ff62 (patch) | |
| tree | 57b082ad5b314605d5d9dab50068737f324cae60 /include/asm-x86/uv | |
| parent | a656c8efb40a8700046df20da2195f8aa39ce38a (diff) | |
x86: consolidate header guards
This patch is the result of an automatic script that consolidates the
format of all the headers in include/asm-x86/.
The format:
1. No leading underscore. Names with leading underscores are reserved.
2. Pathname components are separated by two underscores. So we can
distinguish between mm_types.h and mm/types.h.
3. Everything except letters and numbers are turned into single
underscores.
Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Diffstat (limited to 'include/asm-x86/uv')
| -rw-r--r-- | include/asm-x86/uv/bios.h | 6 | ||||
| -rw-r--r-- | include/asm-x86/uv/uv_bau.h | 6 | ||||
| -rw-r--r-- | include/asm-x86/uv/uv_hub.h | 6 | ||||
| -rw-r--r-- | include/asm-x86/uv/uv_mmrs.h | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/include/asm-x86/uv/bios.h b/include/asm-x86/uv/bios.h index aa73362ff5df..7cd6d7ec1308 100644 --- a/include/asm-x86/uv/bios.h +++ b/include/asm-x86/uv/bios.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | #ifndef _ASM_X86_BIOS_H | 1 | #ifndef ASM_X86__UV__BIOS_H |
| 2 | #define _ASM_X86_BIOS_H | 2 | #define ASM_X86__UV__BIOS_H |
| 3 | 3 | ||
| 4 | /* | 4 | /* |
| 5 | * BIOS layer definitions. | 5 | * BIOS layer definitions. |
| @@ -65,4 +65,4 @@ x86_bios_freq_base(unsigned long which, unsigned long *ticks_per_second, | |||
| 65 | unsigned long *drift_info); | 65 | unsigned long *drift_info); |
| 66 | extern const char *x86_bios_strerror(long status); | 66 | extern const char *x86_bios_strerror(long status); |
| 67 | 67 | ||
| 68 | #endif /* _ASM_X86_BIOS_H */ | 68 | #endif /* ASM_X86__UV__BIOS_H */ |
diff --git a/include/asm-x86/uv/uv_bau.h b/include/asm-x86/uv/uv_bau.h index 91ac0dfb7588..0950239acaf6 100644 --- a/include/asm-x86/uv/uv_bau.h +++ b/include/asm-x86/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_BAU__ | 11 | #ifndef ASM_X86__UV__UV_BAU_H |
| 12 | #define __ASM_X86_UV_BAU__ | 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 |
| @@ -334,4 +334,4 @@ extern int uv_flush_tlb_others(cpumask_t *, struct mm_struct *, unsigned long); | |||
| 334 | extern void uv_bau_message_intr1(void); | 334 | extern void uv_bau_message_intr1(void); |
| 335 | extern void uv_bau_timeout_intr1(void); | 335 | extern void uv_bau_timeout_intr1(void); |
| 336 | 336 | ||
| 337 | #endif /* __ASM_X86_UV_BAU__ */ | 337 | #endif /* ASM_X86__UV__UV_BAU_H */ |
diff --git a/include/asm-x86/uv/uv_hub.h b/include/asm-x86/uv/uv_hub.h index a4ef26e5850b..bdb5b01afbf5 100644 --- a/include/asm-x86/uv/uv_hub.h +++ b/include/asm-x86/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_HUB_H__ | 11 | #ifndef ASM_X86__UV__UV_HUB_H |
| 12 | #define __ASM_X86_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_HUB__ */ | 353 | #endif /* ASM_X86__UV__UV_HUB_H */ |
| 354 | 354 | ||
diff --git a/include/asm-x86/uv/uv_mmrs.h b/include/asm-x86/uv/uv_mmrs.h index 151fd7fcb809..8b03d89d2459 100644 --- a/include/asm-x86/uv/uv_mmrs.h +++ b/include/asm-x86/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_MMRS__ | 11 | #ifndef ASM_X86__UV__UV_MMRS_H |
| 12 | #define __ASM_X86_UV_MMRS__ | 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_MMRS__ */ | 1295 | #endif /* ASM_X86__UV__UV_MMRS_H */ |
