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/rwsem.h | |
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/rwsem.h')
-rw-r--r-- | arch/x86/include/asm/rwsem.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/include/asm/rwsem.h b/arch/x86/include/asm/rwsem.h index 3ff3015b71a8..ca7517d33776 100644 --- a/arch/x86/include/asm/rwsem.h +++ b/arch/x86/include/asm/rwsem.h | |||
@@ -29,8 +29,8 @@ | |||
29 | * front, then they'll all be woken up, but no other readers will be. | 29 | * front, then they'll all be woken up, but no other readers will be. |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #ifndef ASM_X86__RWSEM_H | 32 | #ifndef _ASM_X86_RWSEM_H |
33 | #define ASM_X86__RWSEM_H | 33 | #define _ASM_X86_RWSEM_H |
34 | 34 | ||
35 | #ifndef _LINUX_RWSEM_H | 35 | #ifndef _LINUX_RWSEM_H |
36 | #error "please don't include asm/rwsem.h directly, use linux/rwsem.h instead" | 36 | #error "please don't include asm/rwsem.h directly, use linux/rwsem.h instead" |
@@ -262,4 +262,4 @@ static inline int rwsem_is_locked(struct rw_semaphore *sem) | |||
262 | } | 262 | } |
263 | 263 | ||
264 | #endif /* __KERNEL__ */ | 264 | #endif /* __KERNEL__ */ |
265 | #endif /* ASM_X86__RWSEM_H */ | 265 | #endif /* _ASM_X86_RWSEM_H */ |