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 d824528..ad3fa3a 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 e7780f3..232b223 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);