summaryrefslogtreecommitdiff
path: root/arch/x86/um/vdso
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2019-08-23 16:05:46 +0300
committerRichard Weinberger <richard@nod.at>2019-09-15 22:37:12 +0300
commit7a1bb4f990ad422047b89540bc61bbcab81a07ea (patch)
tree07c53f8d62b76741dbd2da3ab597363c98384960 /arch/x86/um/vdso
parent0dafcbe128d2af48919619f79332ef219b5e5514 (diff)
downloadlinux-7a1bb4f990ad422047b89540bc61bbcab81a07ea.tar.xz
um: Fix VDSO compiler warning
Fix a warning about the function type being wrong. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86/um/vdso')
-rw-r--r--arch/x86/um/vdso/um_vdso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/um/vdso/um_vdso.c b/arch/x86/um/vdso/um_vdso.c
index ac9c02b9d92c..891868756a51 100644
--- a/arch/x86/um/vdso/um_vdso.c
+++ b/arch/x86/um/vdso/um_vdso.c
@@ -47,7 +47,7 @@ time_t __vdso_time(time_t *t)
return secs;
}
-int time(time_t *t) __attribute__((weak, alias("__vdso_time")));
+time_t time(time_t *t) __attribute__((weak, alias("__vdso_time")));
long
__vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)