Make BusyLoop volatile. Spotted by Thomas.
Modified: trunk/reactos/drivers/net/ndis/ndis/control.c
_____
Modified: trunk/reactos/drivers/net/ndis/ndis/control.c
--- trunk/reactos/drivers/net/ndis/ndis/control.c 2005-08-24
12:21:18 UTC (rev 17511)
+++ trunk/reactos/drivers/net/ndis/ndis/control.c 2005-08-24
14:15:54 UTC (rev 17512)
@@ -50,7 +50,7 @@
{
ULONG RefCount;
UCHAR ProcessorNumber;
- UCHAR BusyLoop;
+ volatile UCHAR BusyLoop;
ASSERT_IRQL(DISPATCH_LEVEL);
Show replies by date