[PATCH][RESENT] Fix mdelay's use of 'msec' name

From: Benjamin Herrenschmidt (benh@kernel.crashing.org)
Date: Sun Aug 03 2003 - 06:30:05 EST


===== include/linux/delay.h 1.2 vs edited =====
--- 1.2/include/linux/delay.h Tue Feb 18 23:42:12 2003
+++ edited/include/linux/delay.h Sun Aug 3 13:27:29 2003
@@ -27,11 +27,11 @@
 
 #ifdef notdef
 #define mdelay(n) (\
- {unsigned long msec=(n); while (msec--) udelay(1000);})
+ {unsigned long __ms=(n); while (__ms--) udelay(1000);})
 #else
 #define mdelay(n) (\
         (__builtin_constant_p(n) && (n)<=MAX_UDELAY_MS) ? udelay((n)*1000) : \
- ({unsigned long msec=(n); while (msec--) udelay(1000);}))
+ ({unsigned long __ms=(n); while (__ms--) udelay(1000);}))
 #endif
 
 #ifndef ndelay

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:21 EST