Fix bug: undefined refrence to `fueword`.

This commit is contained in:
logwang 2017-10-25 15:16:28 +08:00
parent a1fd9364a9
commit 20a9422e03
1 changed files with 7 additions and 0 deletions

View File

@ -317,6 +317,13 @@ fubyte(volatile const void *base)
return (*(volatile const uint8_t *)base); return (*(volatile const uint8_t *)base);
} }
int
fueword(volatile const void *base, long *val)
{
*val = (*(volatile const long *)base);
return 0;
}
void void
timekeep_push_vdso(void) timekeep_push_vdso(void)
{ {