mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 19:36:41 +00:00
aab02f0ae2
Impact: cleanup In asm/system.h moved out __switch_to from CONFIG_X86_32 as it is common for both 32 and 64 bit. In asm/pctl.h defined sys_arch_prctl Signed-off-by: Jaswinder Singh <jaswinder@infradead.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
14 lines
287 B
C
14 lines
287 B
C
#ifndef _ASM_X86_PRCTL_H
|
|
#define _ASM_X86_PRCTL_H
|
|
|
|
#define ARCH_SET_GS 0x1001
|
|
#define ARCH_SET_FS 0x1002
|
|
#define ARCH_GET_FS 0x1003
|
|
#define ARCH_GET_GS 0x1004
|
|
|
|
#ifdef CONFIG_X86_64
|
|
extern long sys_arch_prctl(int, unsigned long);
|
|
#endif /* CONFIG_X86_64 */
|
|
|
|
#endif /* _ASM_X86_PRCTL_H */
|