blob: 45183fcd10b6cf94deefd114f8488edc6a2b8dff [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __UM_SEGMENT_H
2#define __UM_SEGMENT_H
3
Paolo 'Blaisorblade' Giarrusso3feb8852006-03-31 02:30:25 -08004extern int host_gdt_entry_tls_min;
5
6#define GDT_ENTRY_TLS_ENTRIES 3
7#define GDT_ENTRY_TLS_MIN host_gdt_entry_tls_min
8#define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1)
Paolo 'Blaisorblade' Giarrussoaa6758d2006-03-31 02:30:22 -08009
Linus Torvalds1da177e2005-04-16 15:20:36 -070010#endif