mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 19:23:57 +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