summaryrefslogtreecommitdiffstats
path: root/arch/x86/um
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2019-08-23 15:05:46 +0200
committerRichard Weinberger <richard@nod.at>2019-09-15 21:37:12 +0200
commit7a1bb4f990ad422047b89540bc61bbcab81a07ea (patch)
tree07c53f8d62b76741dbd2da3ab597363c98384960 /arch/x86/um
parent0dafcbe128d2af48919619f79332ef219b5e5514 (diff)
downloadlinux-7a1bb4f990ad422047b89540bc61bbcab81a07ea.tar.bz2
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')
-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)