diff --git a/driver/modern_bpf/helpers/extract/extract_from_kernel.h b/driver/modern_bpf/helpers/extract/extract_from_kernel.h index 9a572a13e0..50315ba8c8 100644 --- a/driver/modern_bpf/helpers/extract/extract_from_kernel.h +++ b/driver/modern_bpf/helpers/extract/extract_from_kernel.h @@ -72,6 +72,9 @@ static __always_inline bool bpf_in_ia32_syscall() #elif defined(__TARGET_ARCH_s390) READ_TASK_FIELD_INTO(&status, task, thread_info.flags); return status & _TIF_31BIT; +#elif defined(__TARGET_ARCH_powerpc) + READ_TASK_FIELD_INTO(&status, task, thread_info.flags); + return status & _TIF_32BIT; #else return false; #endif