NET: am79c961: ensure asm() statements are marked volatile
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Fri, 10 Jun 2011 00:51:54 +0000 (00:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2011 22:56:00 +0000 (15:56 -0700)
commitd814dee0e1a5d9b2f858b91551a0dd0608f777a1
tree76426b26880f5f65a5f4952c680182986acba569
parentb4c8cc88c18213688268d1d53a51d97ce2f19a64
NET: am79c961: ensure asm() statements are marked volatile

Without this the compiler can (and does) optimize register reads away
from within loops, and other such optimizations.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/arm/am79c961a.c