diff options
author | Andi Kleen | 2010-06-01 23:04:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-08-10 23:35:35 +0200 |
commit | c532b29a6f6d31e84a7c88f995eebdc75ebd4248 (patch) | |
tree | 5b8dbfae37f6c3c1530ee3651c9d28e00bd15f5e /include/linux/usb.h | |
parent | USB-BKL: Remove lock_kernel in usbfs update_sb() (diff) | |
download | kernel-qcow2-linux-c532b29a6f6d31e84a7c88f995eebdc75ebd4248.tar.gz kernel-qcow2-linux-c532b29a6f6d31e84a7c88f995eebdc75ebd4248.tar.xz kernel-qcow2-linux-c532b29a6f6d31e84a7c88f995eebdc75ebd4248.zip |
USB-BKL: Convert usb_driver ioctl to unlocked_ioctl
And audit all the users. None needed the BKL. That was easy
because there was only very few around.
Tested with allmodconfig build on x86-64
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Arnd Bergmann <arnd@arndb.de>
From: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index d5922a877994..e6cbc34901f4 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -843,7 +843,7 @@ struct usb_driver { void (*disconnect) (struct usb_interface *intf); - int (*ioctl) (struct usb_interface *intf, unsigned int code, + int (*unlocked_ioctl) (struct usb_interface *intf, unsigned int code, void *buf); int (*suspend) (struct usb_interface *intf, pm_message_t message); |