[tip:irq/core 3/7] kernel/irq/manage.c:1208:2: error: implicit declaration of function 'clear_and_wake_up_bit'; did you mean 'clear_pfnblock_bit'?

From: kernel test robot

Date: Thu Oct 15 2026 - 17:35:53 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/core
head: 4351cc74202857f5b85b3573c477c9f798f5cd88
commit: 313fa9ffa302f81b437e1ebbb1e6abae06be0cad [3/7] genirq: Defer kfree(irqaction) until irq_thread_dtor() finishes
config: xtensa-randconfig-2001-20261015 (https://download.01.org/0day-ci/archive/20261015/202610152305.qx1OoHrk-lkp@xxxxxxxxx/config)
compiler: xtensa-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261015/202610152305.qx1OoHrk-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610152305.qx1OoHrk-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

kernel/irq/manage.c: In function 'irq_thread_dtor':
>> kernel/irq/manage.c:1208:2: error: implicit declaration of function 'clear_and_wake_up_bit'; did you mean 'clear_pfnblock_bit'? [-Werror=implicit-function-declaration]
clear_and_wake_up_bit(IRQTF_EXIT_WORK, &action->thread_flags);
^~~~~~~~~~~~~~~~~~~~~
clear_pfnblock_bit
kernel/irq/manage.c: In function 'irq_stop_thread':
>> kernel/irq/manage.c:1866:2: error: implicit declaration of function 'wait_on_bit'; did you mean 'llist_on_list'? [-Werror=implicit-function-declaration]
wait_on_bit(&action->thread_flags, IRQTF_EXIT_WORK, TASK_UNINTERRUPTIBLE);
^~~~~~~~~~~
llist_on_list
cc1: some warnings being treated as errors


vim +1208 kernel/irq/manage.c

1202
1203 static void irq_thread_dtor(struct callback_head *unused)
1204 {
1205 struct irqaction *action = kthread_data(current);
1206
1207 __irq_thread_dtor(action);
> 1208 clear_and_wake_up_bit(IRQTF_EXIT_WORK, &action->thread_flags);
1209 }
1210

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki