WIP FPC-III support
[linux/fpc-iii.git] / arch / x86 / um / asm / desc.h
blob34de4e93d945face6b0f0f553d2a7933d27bbeda
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __UM_DESC_H
3 #define __UM_DESC_H
5 /* Taken from asm-i386/desc.h, it's the only thing we need. The rest wouldn't
6 * compile, and has never been used. */
7 #define LDT_empty(info) (\
8 (info)->base_addr == 0 && \
9 (info)->limit == 0 && \
10 (info)->contents == 0 && \
11 (info)->read_exec_only == 1 && \
12 (info)->seg_32bit == 0 && \
13 (info)->limit_in_pages == 0 && \
14 (info)->seg_not_present == 1 && \
15 (info)->useable == 0 )
17 #endif