aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/ldt.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-10-23 01:26:29 -0400
committerH. Peter Anvin <hpa@zytor.com>2008-10-23 01:55:23 -0400
commit1965aae3c98397aad957412413c07e97b1bd4e64 (patch)
tree1386fcb54753f8dda8f99ca6e5ecab0add1f029f /arch/x86/include/asm/ldt.h
parent87e299e5c7508a9443f04703f1d0c7f518f79ea9 (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/ldt.h')
-rw-r--r--arch/x86/include/asm/ldt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/include/asm/ldt.h b/arch/x86/include/asm/ldt.h
index a5228504d867..46727eb37bfe 100644
--- a/arch/x86/include/asm/ldt.h
+++ b/arch/x86/include/asm/ldt.h
@@ -3,8 +3,8 @@
3 * 3 *
4 * Definitions of structures used with the modify_ldt system call. 4 * Definitions of structures used with the modify_ldt system call.
5 */ 5 */
6#ifndef ASM_X86__LDT_H 6#ifndef _ASM_X86_LDT_H
7#define ASM_X86__LDT_H 7#define _ASM_X86_LDT_H
8 8
9/* Maximum number of LDT entries supported. */ 9/* Maximum number of LDT entries supported. */
10#define LDT_ENTRIES 8192 10#define LDT_ENTRIES 8192
@@ -37,4 +37,4 @@ struct user_desc {
37#define MODIFY_LDT_CONTENTS_CODE 2 37#define MODIFY_LDT_CONTENTS_CODE 2
38 38
39#endif /* !__ASSEMBLY__ */ 39#endif /* !__ASSEMBLY__ */
40#endif /* ASM_X86__LDT_H */ 40#endif /* _ASM_X86_LDT_H */