Messages in this thread Patch in this message | | | Subject | [PATCH][RESENT] Fix mdelay's use of 'msec' name | From | Benjamin Herrenschmidt <> | Date | 03 Aug 2003 13:30:05 +0200 |
| |
===== 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/
| |