mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* RCU: undefined reference to irq_work_queue
@ 2022-03-17 11:32 Hyeonggon Yoo
  2022-03-17 14:00 ` Paul E. McKenney
  2022-03-17 15:22 ` Zhouyi Zhou
  0 siblings, 2 replies; 14+ messages in thread
From: Hyeonggon Yoo @ 2022-03-17 11:32 UTC (permalink / raw)
  To: rcu
  Cc: Paul E. McKenney, Josh Triplett, Steven Rostedt,
	Mathieu Desnoyers, Joel Fernandes, Hyeonggon Yoo, linux-kernel

Hello RCU folks,

I like to use minimal configuration for kernel development.
when building with tinyconfig + CONFIG_PREEMPT=y on arm64:

ld: kernel/rcu/update.o: in function `call_rcu_tasks':
update.c:(.text+0xb2c): undefined reference to `irq_work_queue'
update.c:(.text+0xb2c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `irq_work_queue'
make: *** [Makefile:1155: vmlinux] Error 1

It seems RCU calls irq_work_queue() without checking if CONFIG_IRQ_WORK is enabled.

-- 
Thank you, You are awesome!
Hyeonggon :-)

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-03-18 14:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17 11:32 RCU: undefined reference to irq_work_queue Hyeonggon Yoo
2022-03-17 14:00 ` Paul E. McKenney
2022-03-17 15:24   ` Hyeonggon Yoo
2022-03-17 16:20     ` Paul E. McKenney
2022-03-17 16:45       ` Hyeonggon Yoo
2022-03-17 17:36         ` Paul E. McKenney
2022-03-17 20:26           ` Randy Dunlap
2022-03-17 20:29             ` Paul E. McKenney
2022-03-17 20:31               ` Randy Dunlap
2022-03-17 20:41           ` Zhouyi Zhou
2022-03-17 20:53             ` Paul E. McKenney
2022-03-18 14:42               ` Hyeonggon Yoo
2022-03-17 15:22 ` Zhouyi Zhou
2022-03-17 15:54   ` Hyeonggon Yoo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®