Skip to contentSkip to conversation

misspelled if def in xen/arch/timer.c

PATCH New Jerone Young 1 participant 1 message Mar 25, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 misspelled if def in xen/arch/timer.c

I was walking through the code and noticed that the macro around an error check that was not correctly defined...it was "_i386__", should be "__i386__".

Signature · 4 lines
Jerone Young
IBM Linux Technology Center
[email protected]
512-838-1157 (T/L: 678-1157)
xen/arch/x86/time.c +1 -1
@@ -135,7 +135,7 @@ static unsigned long __init calibrate_ts
 
     diff = end - start;
 
-#if defined(_i386__)
+#if defined(__i386__)
     /* If quotient doesn't fit in 32 bits then we return error (zero). */
     if ( diff & ~0xffffffffULL )
         return 0;
xen/arch/x86/time.c +1 -1
@@ -135,7 +135,7 @@ static unsigned long __init calibrate_ts
 
     diff = end - start;
 
-#if defined(_i386__)
+#if defined(__i386__)
     /* If quotient doesn't fit in 32 bits then we return error (zero). */
     if ( diff & ~0xffffffffULL )
         return 0;