Commit 7a1bb4f9 authored by Johannes Berg's avatar Johannes Berg Committed by Richard Weinberger

um: Fix VDSO compiler warning

Fix a warning about the function type being wrong.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarRichard Weinberger <richard@nod.at>
parent 0dafcbe1
...@@ -47,7 +47,7 @@ time_t __vdso_time(time_t *t) ...@@ -47,7 +47,7 @@ time_t __vdso_time(time_t *t)
return secs; return secs;
} }
int time(time_t *t) __attribute__((weak, alias("__vdso_time"))); time_t time(time_t *t) __attribute__((weak, alias("__vdso_time")));
long long
__vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment