diff options
author | Jaswinder Singh <jaswinder@infradead.org> | 2008-12-15 11:56:30 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-12-16 15:18:21 -0500 |
commit | c0195b6da08c4ddd8c8ea830f6c3c40bc7f82071 (patch) | |
tree | 29b0bd059b499e28dabb5808a9b04f8a708dad1c /arch/x86/include/asm/syscalls.h | |
parent | 7b5b50f1be9e07714cfaa620d102c8daf3cdd814 (diff) |
x86: ldt.c declare sys_modify_ldt before they get used
Impact: cleanup
In asm/syscalls.h moved out sys_modify_ldt from CONFIG_X86_32 as it is
common for both 32 and 64 bit.
Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/syscalls.h')
-rw-r--r-- | arch/x86/include/asm/syscalls.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/include/asm/syscalls.h b/arch/x86/include/asm/syscalls.h index 87803da44010..75d4a6afc36f 100644 --- a/arch/x86/include/asm/syscalls.h +++ b/arch/x86/include/asm/syscalls.h | |||
@@ -19,6 +19,9 @@ | |||
19 | /* kernel/ioport.c */ | 19 | /* kernel/ioport.c */ |
20 | asmlinkage long sys_ioperm(unsigned long, unsigned long, int); | 20 | asmlinkage long sys_ioperm(unsigned long, unsigned long, int); |
21 | 21 | ||
22 | /* kernel/ldt.c */ | ||
23 | asmlinkage int sys_modify_ldt(int, void __user *, unsigned long); | ||
24 | |||
22 | /* X86_32 only */ | 25 | /* X86_32 only */ |
23 | #ifdef CONFIG_X86_32 | 26 | #ifdef CONFIG_X86_32 |
24 | /* kernel/process_32.c */ | 27 | /* kernel/process_32.c */ |
@@ -38,9 +41,6 @@ asmlinkage int sys_rt_sigreturn(unsigned long); | |||
38 | /* kernel/ioport.c */ | 41 | /* kernel/ioport.c */ |
39 | asmlinkage long sys_iopl(unsigned long); | 42 | asmlinkage long sys_iopl(unsigned long); |
40 | 43 | ||
41 | /* kernel/ldt.c */ | ||
42 | asmlinkage int sys_modify_ldt(int, void __user *, unsigned long); | ||
43 | |||
44 | /* kernel/sys_i386_32.c */ | 44 | /* kernel/sys_i386_32.c */ |
45 | asmlinkage long sys_mmap2(unsigned long, unsigned long, unsigned long, | 45 | asmlinkage long sys_mmap2(unsigned long, unsigned long, unsigned long, |
46 | unsigned long, unsigned long, unsigned long); | 46 | unsigned long, unsigned long, unsigned long); |