1
0
mirror of https://github.com/torvalds/linux.git synced 2024-12-29 14:21:47 +00:00
linux/drivers/ps3
Tejun Heo 4a8bb7f548 ps3-vuart: don't use PREPARE_WORK
PREPARE_[DELAYED_]WORK() are being phased out.  They have few users
and a nasty surprise in terms of reentrancy guarantee as workqueue
considers work items to be different if they don't have the same work
function.

ps3_vuart wasn't overriding the work item with multiple work functions
but was using NULL for INIT_WORK() and then single PREPARE_WORK() to
set the work function.  We can simply invoke INIT_WORK() with the work
function and remove the PREPARE_WORK() usage.

It would probably be best to route this with other related updates
through the workqueue tree.

Geoff: Tested on ps3 (DECR-1400).

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Geoff Levand <geoff@infradead.org>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: cbe-oss-dev@lists.ozlabs.org
2014-03-07 10:24:48 -05:00
..
Makefile
ps3-lpm.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
ps3-sys-manager.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
ps3-vuart.c ps3-vuart: don't use PREPARE_WORK 2014-03-07 10:24:48 -05:00
ps3av_cmd.c
ps3av.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
ps3stor_lib.c
sys-manager-core.c
vuart.h