]> git.karo-electronics.de Git - linux-beck.git/commit
e1000e: remove phy read from inside spinlock
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Thu, 2 Oct 2008 23:33:30 +0000 (16:33 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Oct 2008 01:28:12 +0000 (18:28 -0700)
commit23033fad5be0a2c7838cb9e1579919b64af713f6
treecca0e10a7f6c26c20fd2c4d97d7bde911a1b1300
parenta8f88ff5a5abc2ce9f7d7d2694178b2c617d713a
e1000e: remove phy read from inside spinlock

thanks to tglx, we're finding some interesting reentrancy issues.
this patch removes the phy read from inside a spinlock, paving
the way for removing the spinlock completely.  The phy read was
only feeding a statistic that wasn't used.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/e1000e/ethtool.c
drivers/net/e1000e/netdev.c