tmp_suning_uos_patched/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
configs
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
Makefile