• Miklos Szeredi's avatar
    uml: fix link error from prefixing of i386 syscalls with ptregs_ · 7130f2f5
    Miklos Szeredi authored
    Fix the following link error:
    
    arch/um/sys-i386/built-in.o: In function `sys_call_table':
    (.rodata+0x11c): undefined reference to `ptregs_fork'
    arch/um/sys-i386/built-in.o: In function `sys_call_table':
    (.rodata+0x140): undefined reference to `ptregs_execve'
    arch/um/sys-i386/built-in.o: In function `sys_call_table':
    (.rodata+0x2cc): undefined reference to `ptregs_iopl'
    arch/um/sys-i386/built-in.o: In function `sys_call_table':
    (.rodata+0x2d8): undefined reference to `ptregs_vm86old'
    arch/um/sys-i386/built-in.o: In function `sys_call_table':
    (.rodata+0x2f0): undefined reference to `ptregs_sigreturn'
    arch/um/sys-i386/built-in.o: In function `sys_call_table':
    (.rodata+0x2f4): undefined reference to `ptregs_clone'
    arch/um/sys-i386/built-in.o: In function `sys_call_table':
    (.rodata+0x3ac): undefined reference to `ptregs_vm86'
    arch/um/sys-i386/built-in.o: In function `sys_call_table':
    (.rodata+0x3c8): undefined reference to `ptregs_rt_sigreturn'
    arch/um/sys-i386/built-in.o: In function `sys_call_table':
    (.rodata+0x3fc): undefined reference to `ptregs_sigaltstack'
    arch/um/sys-i386/built-in.o: In function `sys_call_table':
    (.rodata+0x40c): undefined reference to `ptregs_vfork'
    
    This was introduced by commit 253f29a4, "x86: pass in pt_regs pointer
    for syscalls that need it"
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    Cc: Brian Gerst <brgerst@gmail.com>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Jeff Dike <jdike@addtoit.com>
    Reviewed-by: default avatarWANG Cong <xiyou.wangcong@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    7130f2f5
sys_call_table.S 737 Bytes