diff options
author | Vegard Nossum <vegard.nossum@gmail.com> | 2008-06-18 17:08:48 +0200 |
---|---|---|
committer | Vegard Nossum <vegard.nossum@gmail.com> | 2008-07-22 21:31:34 +0200 |
commit | 77ef50a522717fa040636ee1017179ceba12ff62 (patch) | |
tree | 57b082ad5b314605d5d9dab50068737f324cae60 /include/asm-x86/spinlock.h | |
parent | x86: fix spurious '#' in kvm header (diff) | |
download | linux-77ef50a522717fa040636ee1017179ceba12ff62.tar.xz linux-77ef50a522717fa040636ee1017179ceba12ff62.zip |
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/spinlock.h')
-rw-r--r-- | include/asm-x86/spinlock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86/spinlock.h b/include/asm-x86/spinlock.h index 4f9a9861799a..cbe01086ba64 100644 --- a/include/asm-x86/spinlock.h +++ b/include/asm-x86/spinlock.h @@ -1,5 +1,5 @@ -#ifndef _X86_SPINLOCK_H_ -#define _X86_SPINLOCK_H_ +#ifndef ASM_X86__SPINLOCK_H +#define ASM_X86__SPINLOCK_H #include <asm/atomic.h> #include <asm/rwlock.h> @@ -366,4 +366,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 +#endif /* ASM_X86__SPINLOCK_H */ |