Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __UM_SEGMENT_H |
| 2 | #define __UM_SEGMENT_H |
| 3 | |
Paolo 'Blaisorblade' Giarrusso | 3feb885 | 2006-03-31 02:30:25 -0800 | [diff] [blame] | 4 | extern 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' Giarrusso | aa6758d | 2006-03-31 02:30:22 -0800 | [diff] [blame] | 9 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | #endif |