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>
This commit is contained in:
parent
0dafcbe128
commit
7a1bb4f990
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue