From: Stefani Seibold Date: Thu, 5 Aug 2010 07:19:26 +0000 (+0200) Subject: mtd: change struct flchip_shared spinlock locking into mutex X-Git-Tag: v2.6.36-rc1~301^2~22 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ae664184c45def51ff0b61d4bd6c6671db6cb4f;p=pandora-kernel.git mtd: change struct flchip_shared spinlock locking into mutex This patch prevent to schedule while atomic by changing the flchip_shared spinlock into a mutex. This should be save since no atomic path will use this lock. It was suggested by Arnd Bergmann and Vasiliy Kulikov. Signed-off-by: Stefani Seibold Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed