]> git.karo-electronics.de Git - linux-beck.git/commit
mpc52xx: cleanup locking
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 3 Nov 2010 05:56:38 +0000 (05:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Nov 2010 19:39:08 +0000 (11:39 -0800)
commit9d1e5e40d6cac4bf7008e04c202d71918455ca11
treefaa3707b83633013bc2a666fd0f26d0cd13b4bdb
parentb178bb3dfc30d9555bdd2401e95af98e23e83e10
mpc52xx: cleanup locking

commit 1e4e0767ecb1 (Fix locking on fec_mpc52xx driver) assumed IRQ are
enabled when an IRQ handler is called.

It is not the case anymore (IRQF_DISABLED is deprecated), so we can use
regular spin_lock(), no need for spin_lock_irqsave().

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Jean-Michel Hautbois <jhautbois@gmail.com>
Cc: Asier Llano <a.llano@ziv.es>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/fec_mpc52xx.c