Hack for unresolved symbol read_tsc_64
This commit is contained in:
parent
7d73223f08
commit
cd554e7284
1 changed files with 3 additions and 1 deletions
|
@ -129,7 +129,9 @@ static struct block *block_alloc(size_t size)
|
||||||
#ifdef __NBSD_LIBC
|
#ifdef __NBSD_LIBC
|
||||||
tsc = 0;
|
tsc = 0;
|
||||||
#else
|
#else
|
||||||
read_tsc_64(&tsc);
|
tsc = 0;
|
||||||
|
/* LSC Broken for now... */
|
||||||
|
/* read_tsc_64(&tsc); */
|
||||||
#endif
|
#endif
|
||||||
totalsize = block_get_totalsize(size);
|
totalsize = block_get_totalsize(size);
|
||||||
page_index_max = (ptr_max - ptr_min - totalsize) / PAGE_SIZE;
|
page_index_max = (ptr_max - ptr_min - totalsize) / PAGE_SIZE;
|
||||||
|
|
Loading…
Reference in a new issue