diff options
| author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
|---|---|---|
| committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
| commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
| tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /arch/um/include/asm/segment.h | |
| parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) | |
Diffstat (limited to 'arch/um/include/asm/segment.h')
| -rw-r--r-- | arch/um/include/asm/segment.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/um/include/asm/segment.h b/arch/um/include/asm/segment.h new file mode 100644 index 00000000000..45183fcd10b --- /dev/null +++ b/arch/um/include/asm/segment.h | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | #ifndef __UM_SEGMENT_H | ||
| 2 | #define __UM_SEGMENT_H | ||
| 3 | |||
| 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) | ||
| 9 | |||
| 10 | #endif | ||
