2017-11-01 22:08:43 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
|
2008-10-23 13:26:29 +08:00
|
|
|
#ifndef _ASM_X86_PRCTL_H
|
|
|
|
#define _ASM_X86_PRCTL_H
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2017-03-20 16:16:26 +08:00
|
|
|
#define ARCH_SET_GS 0x1001
|
|
|
|
#define ARCH_SET_FS 0x1002
|
|
|
|
#define ARCH_GET_FS 0x1003
|
|
|
|
#define ARCH_GET_GS 0x1004
|
|
|
|
|
|
|
|
#define ARCH_GET_CPUID 0x1011
|
|
|
|
#define ARCH_SET_CPUID 0x1012
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2016-10-27 22:15:15 +08:00
|
|
|
#define ARCH_MAP_VDSO_X32 0x2001
|
|
|
|
#define ARCH_MAP_VDSO_32 0x2002
|
|
|
|
#define ARCH_MAP_VDSO_64 0x2003
|
2016-09-05 21:33:05 +08:00
|
|
|
|
2008-10-23 13:26:29 +08:00
|
|
|
#endif /* _ASM_X86_PRCTL_H */
|