diff options
author | Jaswinder Singh <jaswinder@infradead.org> | 2008-12-15 22:23:54 +0530 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-16 21:10:27 +0100 |
commit | aab02f0ae20b8fe0fe891e9f107c6e392256ca01 (patch) | |
tree | 87763c424571740d9b307ca3f9f6296b3765a082 /arch/x86/include/asm/prctl.h | |
parent | d6be89ad660c5d03edef91715093d447025df59b (diff) |
x86: process_64.c declare __switch_to() and sys_arch_prctl before they get used
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>
Diffstat (limited to 'arch/x86/include/asm/prctl.h')
-rw-r--r-- | arch/x86/include/asm/prctl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/include/asm/prctl.h b/arch/x86/include/asm/prctl.h index fe681147a4f..a8894647dd9 100644 --- a/arch/x86/include/asm/prctl.h +++ b/arch/x86/include/asm/prctl.h @@ -6,5 +6,8 @@ #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 */ |