]> Zhao Yanbai Git Server - minix.git/commitdiff
Hack for unresolved symbol read_tsc_64
authorLionel Sambuc <lionel@minix3.org>
Sat, 22 Sep 2012 20:48:34 +0000 (22:48 +0200)
committerLionel Sambuc <lionel@minix3.org>
Thu, 15 Nov 2012 15:07:30 +0000 (16:07 +0100)
lib/libc/minix/minix-malloc-debug.c

index c9edc7367df680a2b8754f0337e8bdec26b912e1..0fbb70410709a517213ead0dcf72274dc83973c8 100644 (file)
@@ -129,7 +129,9 @@ static struct block *block_alloc(size_t size)
 #ifdef __NBSD_LIBC
        tsc = 0;
 #else
-       read_tsc_64(&tsc);
+       tsc = 0;
+  /* LSC Broken for now... */
+  /* read_tsc_64(&tsc); */
 #endif
        totalsize = block_get_totalsize(size);
        page_index_max = (ptr_max - ptr_min - totalsize) / PAGE_SIZE;