summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/swiotlb.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-23 07:26:29 +0200
committerH. Peter Anvin <hpa@zytor.com>2008-10-23 07:55:23 +0200
commit1965aae3c98397aad957412413c07e97b1bd4e64 (patch)
tree1386fcb54753f8dda8f99ca6e5ecab0add1f029f /arch/x86/include/asm/swiotlb.h
parentx86, um: get rid of uml-config.h (diff)
downloadlinux-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/swiotlb.h')
-rw-r--r--arch/x86/include/asm/swiotlb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/include/asm/swiotlb.h b/arch/x86/include/asm/swiotlb.h
index 1e20adbcad4b..51fb2c76ad74 100644
--- a/arch/x86/include/asm/swiotlb.h
+++ b/arch/x86/include/asm/swiotlb.h
@@ -1,5 +1,5 @@
-#ifndef ASM_X86__SWIOTLB_H
-#define ASM_X86__SWIOTLB_H
+#ifndef _ASM_X86_SWIOTLB_H
+#define _ASM_X86_SWIOTLB_H
#include <asm/dma-mapping.h>
@@ -55,4 +55,4 @@ static inline void pci_swiotlb_init(void)
static inline void dma_mark_clean(void *addr, size_t size) {}
-#endif /* ASM_X86__SWIOTLB_H */
+#endif /* _ASM_X86_SWIOTLB_H */