treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()

[ Upstream commit b13fecb1c3a603c4b8e99b306fecf4f668c11b32 ]

This converts all the existing DECLARE_TASKLET() (and ...DISABLED)
macros with DECLARE_TASKLET_OLD() in preparation for refactoring the
tasklet callback type. All existing DECLARE_TASKLET() users had a "0"
data argument, it has been removed here as well.

Reviewed-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Stable-dep-of: 1fdeb8b9f29d ("wifi: iwl3945: Add missing check for create_singlethread_workqueue")
Signed-off-by: Sasha Levin <[email protected]>
This commit is contained in:
Kees Cook 2020-07-13 15:01:26 -07:00 • committed by Greg Kroah-Hartman
commit 5de7a4254e
16 changed files with 26 additions and 21 deletions

View file

@ -45,7 +45,7 @@ static void resend_irqs(unsigned long arg)
}
/* Tasklet to handle resend: */
static DECLARE_TASKLET(resend_tasklet, resend_irqs, 0);
static DECLARE_TASKLET_OLD(resend_tasklet, resend_irqs);
#endif