]> git.baikalelectronics.ru Git - kernel.git/commit
CRISv32: ETRAXFS: Fix recursive spinlock
authorJesper Nilsson <jespern@axis.com>
Mon, 27 Oct 2014 08:11:31 +0000 (09:11 +0100)
committerJesper Nilsson <jespern@axis.com>
Fri, 19 Dec 2014 23:06:04 +0000 (00:06 +0100)
commit55fc0b2e478c7a49c919ece80ed9137026b4856c
treee3f1feb76da1db3d59351ed2c19707bed2855882
parentb0cf4f111c53ae0c5e2d563ab17ad2c0d57a8e9f
CRISv32: ETRAXFS: Fix recursive spinlock

Move pinmux alloc/dealloc code into functions that don't take
the spinlock so we can use from code that has the spinlock already.

CRISv32 has no working SMP, so spinlocks becomes a NOP,
so deadlock was never seen.

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
arch/cris/arch-v32/mach-fs/pinmux.c
arch/cris/include/arch-v32/mach-fs/mach/pinmux.h