
The v5.10 kernel no longer guards the task_state_notify_info data structure with #ifdef CONFIG_SIGEXIT, which causes a redefinition-related compilation error. Work around this by checking for the existence of the PR_DO_NOTIFY_TASK_STATE macro, and only define the PR_DO_NOTIFY_TASK_STATE and the task_state_notify_info structure if the kernel does not do so. Story: 2008921 Task: 42915 Change-Id: I4bb499e2b52e20542f202dea1c2c55d88bb8ba61 Signed-off-by: M. Vefa Bicakci <vefa.bicakci@windriver.com>
metal
StarlingX Bare Metal Management
Description
Languages
C++
83%
Shell
10.2%
Python
3.3%
C
2.5%
Makefile
1%