1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 246ecca8aSAl Viro #ifndef __UM_SEGMENT_H 346ecca8aSAl Viro #define __UM_SEGMENT_H 446ecca8aSAl Viro 546ecca8aSAl Viro extern int host_gdt_entry_tls_min; 646ecca8aSAl Viro 746ecca8aSAl Viro #define GDT_ENTRY_TLS_ENTRIES 3 846ecca8aSAl Viro #define GDT_ENTRY_TLS_MIN host_gdt_entry_tls_min 946ecca8aSAl Viro #define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1) 1046ecca8aSAl Viro 1146ecca8aSAl Viro #endif 12