summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2015-05-31 13:11:19 +0200
committerRichard Weinberger <richard@nod.at>2015-05-31 13:14:07 +0200
commit89520d999683cb945d7540efd0944b3af2db9a54 (patch)
treed95a3e092d69bf6b9f5f88b66e7d60170050ca3e
parenta791b1565f828f926a54f1f5a612890ce0f00e6f (diff)
downloadop-kernel-dev-89520d999683cb945d7540efd0944b3af2db9a54.zip
op-kernel-dev-89520d999683cb945d7540efd0944b3af2db9a54.tar.gz
um: Move syscall() declaration into os.h
Signed-off-by: Richard Weinberger <richard@nod.at>
-rw-r--r--arch/um/include/shared/os.h2
-rw-r--r--arch/um/kernel/ksyms.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h
index d824528..ad3fa3a 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 e7780f3..232b2230 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);
OpenPOWER on IntegriCloud