forked from Minki/linux
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>
This commit is contained in:
parent
2b97df06ce
commit
8f7db5186c
@ -6,7 +6,6 @@
|
|||||||
* This file is released under the GPLv2.
|
* This file is released under the GPLv2.
|
||||||
* See the file COPYING for more details.
|
* See the file COPYING for more details.
|
||||||
*
|
*
|
||||||
* Please do not call me directly, include linux/syscalls.h
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _ASM_X86_SYSCALLS_H
|
#ifndef _ASM_X86_SYSCALLS_H
|
||||||
@ -60,6 +59,10 @@ asmlinkage int sys_olduname(struct oldold_utsname __user *);
|
|||||||
asmlinkage int sys_set_thread_area(struct user_desc __user *);
|
asmlinkage int sys_set_thread_area(struct user_desc __user *);
|
||||||
asmlinkage int sys_get_thread_area(struct user_desc __user *);
|
asmlinkage int sys_get_thread_area(struct user_desc __user *);
|
||||||
|
|
||||||
|
/* kernel/vm86_32.c */
|
||||||
|
asmlinkage int sys_vm86old(struct pt_regs);
|
||||||
|
asmlinkage int sys_vm86(struct pt_regs);
|
||||||
|
|
||||||
#else /* CONFIG_X86_32 */
|
#else /* CONFIG_X86_32 */
|
||||||
|
|
||||||
/* X86_64 only */
|
/* X86_64 only */
|
||||||
|
Loading…
Reference in New Issue
Block a user