aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorCatalin Marinas <[email protected]>2009-09-07 10:14:42 +0100
committerCatalin Marinas <[email protected]>2009-09-08 16:31:15 +0100
commit179a8100e12d0053f4b368ea3358dd9a0fc6cb94 (patch)
tree2513119dabe3d4c0ccb2f10f5c2b581461f7c335 /drivers/mtd/lpddr/lpddr_cmds.c
parent43ed5d6ee0f9bfd655d6bc3cb2d964b80c4422c0 (diff)
kmemleak: Do no create the clean-up thread during kmemleak_disable()
The kmemleak_disable() function could be called from various contexts including IRQ. It creates a clean-up thread but the kthread_create() function has restrictions on which contexts it can be called from, mainly because of the kthread_create_lock. The patch changes the kmemleak clean-up thread to a workqueue. Signed-off-by: Catalin Marinas <[email protected]> Reported-by: Eric Paris <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions