2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00
linux-next/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 powerpc/ps3: Replace the use of <module>-objs with <module>-y 2010-11-29 15:48:19 +11:00
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 ps3fb/vram: Extract common GPU stuff into <asm/ps3gpu.h> 2009-06-15 13:26:20 +10:00
ps3av.c Drivers: misc: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
ps3stor_lib.c powerpc/ps3: irq: Remove IRQF_DISABLED 2011-11-08 14:51:46 +11:00
sys-manager-core.c powerpc: add export.h to files making use of EXPORT_SYMBOL 2011-10-31 19:30:37 -04:00
vuart.h [POWERPC] PS3: Vuart rework 2007-06-28 19:16:40 +10:00