From: Richard Weinberger Date: Sun, 31 May 2015 11:11:19 +0000 (+0200) Subject: um: Move syscall() declaration into os.h X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=89520d999683cb945d7540efd0944b3af2db9a54;p=openwrt%2Fstaging%2Fblogic.git um: Move syscall() declaration into os.h Signed-off-by: Richard Weinberger --- diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h index d824528f6f62..ad3fa3ae6d34 100644 --- a/arch/um/include/shared/os.h +++ b/arch/um/include/shared/os.h @@ -301,4 +301,6 @@ extern int get_pty(void); /* sys-$ARCH/task_size.c */ extern unsigned long os_get_top_address(void); +long syscall(long number, ...); + #endif diff --git a/arch/um/kernel/ksyms.c b/arch/um/kernel/ksyms.c index e7780f32a639..232b22307fdd 100644 --- a/arch/um/kernel/ksyms.c +++ b/arch/um/kernel/ksyms.c @@ -43,5 +43,4 @@ EXPORT_SYMBOL(add_sigio_fd); EXPORT_SYMBOL(ignore_sigio_fd); EXPORT_SYMBOL(sigio_broken); -extern long int syscall (long int __sysno, ...); EXPORT_SYMBOL(syscall);