Path: blob/master/arch/um/sys-x86_64/shared/sysdep/tls.h
10820 views
#ifndef _SYSDEP_TLS_H1#define _SYSDEP_TLS_H23# ifndef __KERNEL__45/* Change name to avoid conflicts with the original one from <asm/ldt.h>, which6* may be named user_desc (but in 2.4 and in header matching its API was named7* modify_ldt_ldt_s). */89typedef struct um_dup_user_desc {10unsigned int entry_number;11unsigned int base_addr;12unsigned int limit;13unsigned int seg_32bit:1;14unsigned int contents:2;15unsigned int read_exec_only:1;16unsigned int limit_in_pages:1;17unsigned int seg_not_present:1;18unsigned int useable:1;19unsigned int lm:1;20} user_desc_t;2122# else /* __KERNEL__ */2324# include <ldt.h>25typedef struct user_desc user_desc_t;2627# endif /* __KERNEL__ */28#endif /* _SYSDEP_TLS_H */293031