blob: c4576551709216cd51c17e42af20c36a19cd5e7a [file] [log] [blame]
H. Peter Anvin1965aae2008-10-22 22:26:29 -07001#ifndef _ASM_X86_PRCTL_H
2#define _ASM_X86_PRCTL_H
Linus Torvalds1da177e2005-04-16 15:20:36 -07003
Kyle Hueye9ea1e72017-03-20 01:16:26 -07004#define ARCH_SET_GS 0x1001
5#define ARCH_SET_FS 0x1002
6#define ARCH_GET_FS 0x1003
7#define ARCH_GET_GS 0x1004
8
9#define ARCH_GET_CPUID 0x1011
10#define ARCH_SET_CPUID 0x1012
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Dmitry Safonova01aa6c2016-10-27 17:15:15 +030012#define ARCH_MAP_VDSO_X32 0x2001
13#define ARCH_MAP_VDSO_32 0x2002
14#define ARCH_MAP_VDSO_64 0x2003
Dmitry Safonov2eefd872016-09-05 16:33:05 +030015
H. Peter Anvin1965aae2008-10-22 22:26:29 -070016#endif /* _ASM_X86_PRCTL_H */