summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/cmpxchg_64.h
diff options
context:
space:
mode:
authorVegard Nossum2008-06-18 17:08:48 +0200
committerVegard Nossum2008-07-22 21:31:34 +0200
commit77ef50a522717fa040636ee1017179ceba12ff62 (patch)
tree57b082ad5b314605d5d9dab50068737f324cae60 /include/asm-x86/cmpxchg_64.h
parentx86: fix spurious '#' in kvm header (diff)
downloadkernel-qcow2-linux-77ef50a522717fa040636ee1017179ceba12ff62.tar.gz
kernel-qcow2-linux-77ef50a522717fa040636ee1017179ceba12ff62.tar.xz
kernel-qcow2-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/cmpxchg_64.h')
-rw-r--r--include/asm-x86/cmpxchg_64.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86/cmpxchg_64.h b/include/asm-x86/cmpxchg_64.h
index 17463ccf8166..63c1a5e61b99 100644
--- a/include/asm-x86/cmpxchg_64.h
+++ b/include/asm-x86/cmpxchg_64.h
@@ -1,5 +1,5 @@
-#ifndef __ASM_CMPXCHG_H
-#define __ASM_CMPXCHG_H
+#ifndef ASM_X86__CMPXCHG_64_H
+#define ASM_X86__CMPXCHG_64_H
#include <asm/alternative.h> /* Provides LOCK_PREFIX */
@@ -182,4 +182,4 @@ static inline unsigned long __cmpxchg_local(volatile void *ptr,
cmpxchg_local((ptr), (o), (n)); \
})
-#endif
+#endif /* ASM_X86__CMPXCHG_64_H */