H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 1 | #ifndef _ASM_X86_PRCTL_H |
| 2 | #define _ASM_X86_PRCTL_H |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3 | |
| 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 Singh | aab02f0 | 2008-12-15 22:23:54 +0530 | [diff] [blame] | 9 | #ifdef CONFIG_X86_64 |
| 10 | extern long sys_arch_prctl(int, unsigned long); |
| 11 | #endif /* CONFIG_X86_64 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | |
H. Peter Anvin | 1965aae | 2008-10-22 22:26:29 -0700 | [diff] [blame] | 13 | #endif /* _ASM_X86_PRCTL_H */ |