Skip to contentSkip to conversation

linux-next: build failure after merge of the rcu tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Apr 5, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the rcu tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

kernel/trace/ftrace.c: In function 'ftrace_shutdown':
kernel/trace/ftrace.c:2924:3: error: implicit declaration of function 'synchronize_rcu_tasks_rude'; did you mean 'synchronize_rcu_tasks'? [-Werror=implicit-function-declaration]

 2924 |   synchronize_rcu_tasks_rude();
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |   synchronize_rcu_tasks

Caused by commit

59377f3e06b8 ("ftrace: Use synchronize_rcu_tasks_rude() instead of ftrace_sync()")

synchronize_rcu_tasks_rude() is only declared when CONFIG_TASKS_RCU_GENERIC is defined.

I have reverted that commit for today.

Just asking: are all the commits currently in the rcu tree actually intended for v5.7?

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 15 lines · Stephen Rothwell

Hi all,

After merging the rcu tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

kernel/trace/ftrace.c: In function 'ftrace_shutdown':
kernel/trace/ftrace.c:2924:3: error: implicit declaration of function 'synchronize_rcu_tasks_rude'; did you mean 'synchronize_rcu_tasks'? [-Werror=implicit-function-declaration]

 2924 |   synchronize_rcu_tasks_rude();
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |   synchronize_rcu_tasks

Caused by commit

59377f3e06b8 ("ftrace: Use synchronize_rcu_tasks_rude() instead of ftrace_sync()")

Quoted 7 lines

synchronize_rcu_tasks_rude() is only declared when CONFIG_TASKS_RCU_GENERIC is defined.

I have reverted that commit for today.

Just asking: are all the commits currently in the rcu tree actually intended for v5.7?

My bad! I have moved rcu/next to where it need to be for the duration of the merge window. Please accept my apologies for the hassle.

Thanx, Paul