2008-10-23 01:26:29 -04:00
|
|
|
#ifndef _ASM_X86_PRCTL_H
|
|
|
|
#define _ASM_X86_PRCTL_H
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
#define ARCH_SET_GS 0x1001
|
|
|
|
#define ARCH_SET_FS 0x1002
|
|
|
|
#define ARCH_GET_FS 0x1003
|
|
|
|
#define ARCH_GET_GS 0x1004
|
|
|
|
|
2008-12-15 11:53:54 -05:00
|
|
|
#ifdef CONFIG_X86_64
|
|
|
|
extern long sys_arch_prctl(int, unsigned long);
|
|
|
|
#endif /* CONFIG_X86_64 */
|
2005-04-16 18:20:36 -04:00
|
|
|
|
2008-10-23 01:26:29 -04:00
|
|
|
#endif /* _ASM_X86_PRCTL_H */
|