linux/arch/cris
Jesper Nilsson 60362158e2 CRIS: gpio: don't call copy_to_user()/copy_from_user() while holding spinlocks
copy_to_user()/copy_from_user() must not be used with spinlocks held.
Move locks inside each case so we have better control of when the locks
are held.

Also, since we use spinlocks, we don't need to hold the BKL, so remove it.

Reported-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2010-08-04 12:59:14 +02:00
..
arch-v10 CRIS: gpio: don't call copy_to_user()/copy_from_user() while holding spinlocks 2010-08-04 12:59:14 +02:00
arch-v32 arch/cris: Remove unnecessary casts of private_data 2010-08-04 12:59:06 +02:00
boot CRIS: Merge machine dependent boot/compressed and boot/rescue 2009-04-21 11:44:57 +02:00
configs CRIS: proper defconfig setup 2008-10-13 21:34:55 +02:00
include Merge branch 'for-linus' of git://www.jni.nu/cris 2010-06-01 08:51:25 -07:00
kernel CRIS: GENERIC_TIME fixes 2010-08-04 12:58:55 +02:00
mm CRIS: invoke oom-killer from page fault 2010-08-04 12:58:56 +02:00
Kconfig CRIS: GENERIC_TIME fixes 2010-08-04 12:58:55 +02:00
Kconfig.debug [PATCH] arch/cris/Kconfig.debug: use lib/Kconfig.debug 2005-09-05 00:06:19 -07:00
Makefile arm, cris, mips, sparc, powerpc, um, xtensa: fix build with bash 4.0 2009-09-20 12:28:22 +02:00