smc911x: Make the driver safer on SMP
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 20 Oct 2008 17:15:37 +0000 (18:15 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 22 Oct 2008 11:00:41 +0000 (07:00 -0400)
This patch extends the critical regions covered by lp->lock to make it
safer on SMP. The main failure point was the smc911x_hard_start_xmit
function being called from different CPUs. It was tested on the ARM SMP
platforms.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found