aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/syscalls.h
diff options
context:
space:
mode:
authorJaswinder Singh <jaswinder@infradead.org>2008-07-23 08:01:02 -0400
committerJaswinder Singh <jaswinder@infradead.org>2008-07-23 08:01:02 -0400
commit8f7db5186cf126b56035d9a9735774d751090d66 (patch)
tree33a9ec6805ca672ce8fc4df17eb01785f29951ed /include/asm-x86/syscalls.h
parent2b97df06ce44b1d145bd1299f50765803c2fabee (diff)
x86: vm86_32.c declare functions before they get used
declared following syscalls in asm-x86/syscalls.h: sys_vm86old, sys_vm86 Signed-off-by: Jaswinder Singh <jaswinder@infradead.org>
Diffstat (limited to 'include/asm-x86/syscalls.h')
-rw-r--r--include/asm-x86/syscalls.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/asm-x86/syscalls.h b/include/asm-x86/syscalls.h
index 170fcb132f53..3d6b159d348c 100644
--- a/include/asm-x86/syscalls.h
+++ b/include/asm-x86/syscalls.h
@@ -6,7 +6,6 @@
6 * This file is released under the GPLv2. 6 * This file is released under the GPLv2.
7 * See the file COPYING for more details. 7 * See the file COPYING for more details.
8 * 8 *
9 * Please do not call me directly, include linux/syscalls.h
10 */ 9 */
11 10
12#ifndef _ASM_X86_SYSCALLS_H 11#ifndef _ASM_X86_SYSCALLS_H
@@ -60,6 +59,10 @@ asmlinkage int sys_olduname(struct oldold_utsname __user *);
60asmlinkage int sys_set_thread_area(struct user_desc __user *); 59asmlinkage int sys_set_thread_area(struct user_desc __user *);
61asmlinkage int sys_get_thread_area(struct user_desc __user *); 60asmlinkage int sys_get_thread_area(struct user_desc __user *);
62 61
62/* kernel/vm86_32.c */
63asmlinkage int sys_vm86old(struct pt_regs);
64asmlinkage int sys_vm86(struct pt_regs);
65
63#else /* CONFIG_X86_32 */ 66#else /* CONFIG_X86_32 */
64 67
65/* X86_64 only */ 68/* X86_64 only */