From e4ad6c68876d247dce2983d97bb93a2d63a304aa Mon Sep 17 00:00:00 2001 From: Jaswinder Singh Date: Mon, 15 Dec 2008 22:23:54 +0530 Subject: [PATCH] --- yaml --- r: 120781 b: refs/heads/master c: aab02f0ae20b8fe0fe891e9f107c6e392256ca01 h: refs/heads/master i: 120779: 8e93b3e4052b67f60731909a55f20e2b01eaaaec v: v3 --- [refs] | 2 +- trunk/arch/x86/include/asm/prctl.h | 3 +++ trunk/arch/x86/include/asm/system.h | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index de24647e59b8..0e7e4387e03d 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d6be89ad660c5d03edef91715093d447025df59b +refs/heads/master: aab02f0ae20b8fe0fe891e9f107c6e392256ca01 diff --git a/trunk/arch/x86/include/asm/prctl.h b/trunk/arch/x86/include/asm/prctl.h index fe681147a4f7..a8894647dd9a 100644 --- a/trunk/arch/x86/include/asm/prctl.h +++ b/trunk/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 */ diff --git a/trunk/arch/x86/include/asm/system.h b/trunk/arch/x86/include/asm/system.h index 2ed3f0f44ff7..59555f48bf4c 100644 --- a/trunk/arch/x86/include/asm/system.h +++ b/trunk/arch/x86/include/asm/system.h @@ -17,12 +17,12 @@ # define AT_VECTOR_SIZE_ARCH 1 #endif -#ifdef CONFIG_X86_32 - struct task_struct; /* one of the stranger aspects of C forward declarations */ struct task_struct *__switch_to(struct task_struct *prev, struct task_struct *next); +#ifdef CONFIG_X86_32 + /* * Saving eflags is important. It switches not only IOPL between tasks, * it also protects other tasks from NT leaking through sysenter etc.