summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/ldt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/ldt.h')
-rw-r--r--include/asm-i386/ldt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/ldt.h b/include/asm-i386/ldt.h
index 55b75ca39..9d1110f98 100644
--- a/include/asm-i386/ldt.h
+++ b/include/asm-i386/ldt.h
@@ -11,6 +11,7 @@
/* The size of each LDT entry. */
#define LDT_ENTRY_SIZE 8
+#ifndef __ASSEMBLY__
struct modify_ldt_ldt_s {
unsigned int entry_number;
unsigned long base_addr;
@@ -27,4 +28,5 @@ struct modify_ldt_ldt_s {
#define MODIFY_LDT_CONTENTS_STACK 1
#define MODIFY_LDT_CONTENTS_CODE 2
+#endif /* !__ASSEMBLY__ */
#endif