mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
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;
|
||||
}
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user