os_timer.c
changeset 3356 a3a09fd9d438
parent 3341 b8febc9509d7
child 3362 5fc13da0a8fd
--- a/os_timer.c	Wed Mar 29 16:30:26 2006 +0000
+++ b/os_timer.c	Wed Mar 29 16:56:38 2006 +0000
@@ -41,8 +41,7 @@
 #if defined(__POWERPC__) && !defined(RDTSC_AVAILABLE)
 uint64 _rdtsc(void)
 {
-	uint32 high, low;
-	uint32 high2 = 0;
+	uint32 high = 0, high2 = 0, low;
 	/* PPC does not have rdtsc, so we cheat by reading the two 32-bit time-counters
 	 * it has, 'Move From Time Base (Upper)'. Since these are two reads, in the
 	 * very unlikely event that the lower part overflows to the upper part while we