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

@ -1241,7 +1241,7 @@ static void kbd_bh(unsigned long dummy)
}
}
DECLARE_TASKLET_DISABLED(keyboard_tasklet, kbd_bh, 0);
DECLARE_TASKLET_DISABLED_OLD(keyboard_tasklet, kbd_bh);
#if defined(CONFIG_X86) || defined(CONFIG_IA64) || defined(CONFIG_ALPHA) ||\
defined(CONFIG_MIPS) || defined(CONFIG_PPC) || defined(CONFIG_SPARC) ||\