diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 07:26:29 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 07:55:23 +0200 |
commit | 1965aae3c98397aad957412413c07e97b1bd4e64 (patch) | |
tree | 1386fcb54753f8dda8f99ca6e5ecab0add1f029f /arch/x86/include/asm/spinlock.h | |
parent | x86, um: get rid of uml-config.h (diff) | |
download | linux-1965aae3c98397aad957412413c07e97b1bd4e64.tar.xz linux-1965aae3c98397aad957412413c07e97b1bd4e64.zip |
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/spinlock.h')
-rw-r--r-- | arch/x86/include/asm/spinlock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/include/asm/spinlock.h b/arch/x86/include/asm/spinlock.h index 157ff7fab97a..d17c91981da2 100644 --- a/arch/x86/include/asm/spinlock.h +++ b/arch/x86/include/asm/spinlock.h @@ -1,5 +1,5 @@ -#ifndef ASM_X86__SPINLOCK_H -#define ASM_X86__SPINLOCK_H +#ifndef _ASM_X86_SPINLOCK_H +#define _ASM_X86_SPINLOCK_H #include <asm/atomic.h> #include <asm/rwlock.h> @@ -361,4 +361,4 @@ static inline void __raw_write_unlock(raw_rwlock_t *rw) #define _raw_read_relax(lock) cpu_relax() #define _raw_write_relax(lock) cpu_relax() -#endif /* ASM_X86__SPINLOCK_H */ +#endif /* _ASM_X86_SPINLOCK_H */ |