]> Pileus Git - ~andy/linux/commit
Fix io ordering problems in e100
authorCatalin(ux aka Dino) BOIE <util@deuroconsult.ro>
Sat, 4 Mar 2006 17:18:59 +0000 (12:18 -0500)
committerJeff Garzik <jeff@garzik.org>
Sat, 4 Mar 2006 17:18:59 +0000 (12:18 -0500)
commitad8c48ad3bbef078616ed4d2652d362dfd962f09
treee400f39c22cf68621be51042a860cf402c3a9bd5
parente72fd96e8ee3ff4dd80757172a4fe49bd92fea9c
Fix io ordering problems in e100

Checking e100.c code against Documentation/io_ordering.txt I found the
following problem:

spin_lock_irq...
write
spin-unlock
e100_write_flush

The attached patch fix the code like this:

spin_lock_irq...
write
e100_write_flush
spin-unlock

Signed-off-by: Catalin BOIE <catab@umbrella.ro>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/e100.c