linux/arch/cris/arch-v10/drivers
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
..
axisflashmap.c [CRIS] Move header files from include to arch/cris/include. 2008-10-29 17:29:44 +01:00
ds1302.c cris: push down BKL into some device drivers 2010-04-29 16:36:40 +02:00
eeprom.c cris: autoconvert trivial BKL users to private mutex 2010-08-04 12:59:06 +02:00
gpio.c CRIS: gpio: don't call copy_to_user()/copy_from_user() while holding spinlocks 2010-08-04 12:59:14 +02:00
i2c.c cris: autoconvert trivial BKL users to private mutex 2010-08-04 12:59:06 +02:00
i2c.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig CRIS: Move ETRAX_AXISFLASHMAP to common Kconfig file. 2008-02-08 11:08:06 +01:00
Makefile CRIS v10: Add synchronous serial port driver for CRIS v10. 2008-02-08 11:06:31 +01:00
pcf8563.c cris: push down BKL into some device drivers 2010-04-29 16:36:40 +02:00
sync_serial.c cris: Pushdown the bkl from ioctl 2010-08-04 12:58:57 +02:00