blob: a8894647dd9aba3fd5139eb2277e39a10d17cacb [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
4#define ARCH_SET_GS 0x1001
5#define ARCH_SET_FS 0x1002
6#define ARCH_GET_FS 0x1003
7#define ARCH_GET_GS 0x1004
8
Jaswinder Singhaab02f02008-12-15 22:23:54 +05309#ifdef CONFIG_X86_64
10extern long sys_arch_prctl(int, unsigned long);
11#endif /* CONFIG_X86_64 */
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
H. Peter Anvin1965aae2008-10-22 22:26:29 -070013#endif /* _ASM_X86_PRCTL_H */