if CONFIG_FUTEX is not set
kernel/fork.c: In function 'exit_mm_release':
kernel/fork.c:1121:2: error: implicit declaration of function
'futex_exit_release'; did you mean 'mutex_release'?
[-Werror=implicit-function-declaration]
1121 | futex_exit_release(tsk);
| ^~~~~~~~~~~~~~~~~~
| mutex_release
kernel/fork.c: In function 'exec_mm_release':
kernel/fork.c:1127:2: error: implicit declaration of function
'futex_exec_release'; did you mean 'mutex_release'?
[-Werror=implicit-function-declaration]
1127 | futex_exec_release(tsk);
| ^~~~~~~~~~~~~~~~~~
| mutex_release
kernel/fork.c: In function 'copy_process':
kernel/fork.c:1705:2: error: implicit declaration of function
'futex_init_task'; did you mean 'rt_mutex_init_task'?
[-Werror=implicit-function-declaration]
1705 | futex_init_task(p);
| ^~~~~~~~~~~~~~~
| rt_mutex_init_task
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:304: kernel/fork.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC mm/mempool.o
CC fs/open.o
kernel/exit.c: In function 'do_exit':
kernel/exit.c:788:3: error: implicit declaration of function
'futex_exit_recursive' [-Werror=implicit-function-declaration]
788 | futex_exit_recursive(tsk);
| ^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Am 01.02.2021 um 16:24 schrieb Greg KH:
On Mon, Feb 01, 2021 at 03:12:02PM +0000, Lee Jones wrote:
Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/stable-queue.git/tree/pending/futex_issues.txt
This set required 1 additional patch dragged back from v4.14 to avoid build errors.
Many thanks for these, now all queued up!
greg k-h