8bb227ac34
Remove address space overrides using set_fs() for User Mode Linux. Note that just like the existing kernel access case of the uaccess routines the new nofault kernel handlers do not actually have any exception handling. This is probably broken, but not change to the status quo. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Richard Weinberger <richard@nod.at>
12 lines
285 B
C
12 lines
285 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __UM_SEGMENT_H
|
|
#define __UM_SEGMENT_H
|
|
|
|
extern int host_gdt_entry_tls_min;
|
|
|
|
#define GDT_ENTRY_TLS_ENTRIES 3
|
|
#define GDT_ENTRY_TLS_MIN host_gdt_entry_tls_min
|
|
#define GDT_ENTRY_TLS_MAX (GDT_ENTRY_TLS_MIN + GDT_ENTRY_TLS_ENTRIES - 1)
|
|
|
|
#endif
|