1*46ecca8aSAl Viro #ifndef __UM_SEGMENT_H 2*46ecca8aSAl Viro #define __UM_SEGMENT_H 3*46ecca8aSAl Viro 4*46ecca8aSAl Viro extern int host_gdt_entry_tls_min; 5*46ecca8aSAl Viro 6*46ecca8aSAl Viro #define GDT_ENTRY_TLS_ENTRIES 3 7*46ecca8aSAl Viro #define GDT_ENTRY_TLS_MIN host_gdt_entry_tls_min 8*46ecca8aSAl Viro #define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1) 9*46ecca8aSAl Viro 10*46ecca8aSAl Viro #endif 11