linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][RESENT] Fix mdelay's use of 'msec' name
@ 2003-08-03 11:30 Benjamin Herrenschmidt
  0 siblings, 0 replies; only message in thread
From: Benjamin Herrenschmidt @ 2003-08-03 11:30 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Paul Mackerras, linux-kernel mailing list

===== 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-03 11:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-03 11:30 [PATCH][RESENT] Fix mdelay's use of 'msec' name Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).