summaryrefslogtreecommitdiffstats
path: root/drivers/atm/Makefile
diff options
context:
space:
mode:
authorRafael J. Wysocki2012-03-28 23:29:45 +0200
committerRafael J. Wysocki2012-03-28 23:29:45 +0200
commitfe2e39d8782d885755139304d8dba0b3e5bfa878 (patch)
tree200fb998fe94b9ccd93d07c59656b8f5ab62c5d7 /drivers/atm/Makefile
parentMerge branch 'pm-runtime' into linux-next (diff)
downloadkernel-qcow2-linux-fe2e39d8782d885755139304d8dba0b3e5bfa878.tar.gz
kernel-qcow2-linux-fe2e39d8782d885755139304d8dba0b3e5bfa878.tar.xz
kernel-qcow2-linux-fe2e39d8782d885755139304d8dba0b3e5bfa878.zip
firmware_class: Rework usermodehelper check
Instead of two functions, read_lock_usermodehelper() and usermodehelper_is_disabled(), used in combination, introduce usermodehelper_read_trylock() that will only return with umhelper_sem held if usermodehelper_disabled is unset (and will return -EAGAIN otherwise) and make _request_firmware() use it. Rename read_unlock_usermodehelper() to usermodehelper_read_unlock() to follow the naming convention of the new function. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/atm/Makefile')
0 files changed, 0 insertions, 0 deletions