]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/x86/um/asm/desc.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-bionic-kernel.git] / arch / x86 / um / asm / desc.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef __UM_DESC_H
3#define __UM_DESC_H
4
aa6758d4
PBG
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 )
1da177e4
LT
16
17#endif