um: Move syscall() declaration into os.h
authorRichard Weinberger <richard@nod.at>
Sun, 31 May 2015 11:11:19 +0000 (13:11 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 31 May 2015 11:14:07 +0000 (13:14 +0200)
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/include/shared/os.h
arch/um/kernel/ksyms.c

index d824528f6f62fb8ebbd6710c292f2ed3f3d8bfd5..ad3fa3ae6d3436616029f1009723acae46c9f3fc 100644 (file)
@@ -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
index e7780f32a6391ff4c1e831b9d2d4679aa0e74f3b..232b22307fdd39dfe1d97f8e749afe97389ac8b6 100644 (file)
@@ -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);