I'm trying to build ClearCase MVFS kernel module under CentOS 8, kernel 4.18. The build failed because the code references struct task_struct.state (from linux/sched.h). This member exists in vanilla kernels up to 5.13. In the CentOS kernel, is has been renamed using the macro RH_KABI_REPLACE_SPLIT from state to __state.
So, whats the purpose of RH_KABI_REPLACE_SPLIT here?