Add a bunch of cycle_kernel_lock() calls
commitf2b9857eee17797541b845782ade4d7a9d50f843
authorJonathan Corbet <corbet@lwn.net>
Sun, 18 May 2008 21:32:43 +0000 (18 15:32 -0600)
committerJonathan Corbet <corbet@lwn.net>
Fri, 20 Jun 2008 20:05:53 +0000 (20 14:05 -0600)
tree914a00afee2ff953199f99f7cf869e3fd83b36bd
parent0b2806768899dba5967bcd4a3b93eaed9a1dc4f3
Add a bunch of cycle_kernel_lock() calls

All of the open() functions which don't need the BKL on their face may
still depend on its acquisition to serialize opens against driver
initialization.  So make those functions acquire then release the BKL to be
on the safe side.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
21 files changed:
arch/cris/arch-v10/drivers/eeprom.c
arch/cris/arch-v10/drivers/i2c.c
arch/cris/arch-v32/drivers/cryptocop.c
arch/cris/arch-v32/drivers/i2c.c
drivers/char/cs5535_gpio.c
drivers/char/dtlk.c
drivers/char/ip2/ip2main.c
drivers/char/pc8736x_gpio.c
drivers/char/ppdev.c
drivers/char/scx200_gpio.c
drivers/char/tb0219.c
drivers/char/vr41xx_giu.c
drivers/infiniband/core/ucm.c
drivers/infiniband/hw/ipath/ipath_file_ops.c
drivers/isdn/hardware/eicon/divasi.c
drivers/isdn/hardware/eicon/divasmain.c
drivers/net/ppp_generic.c
drivers/scsi/3w-9xxx.c
drivers/scsi/3w-xxxx.c
drivers/scsi/megaraid.c
drivers/scsi/megaraid/megaraid_sas.c