You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried building xpmem with kernel 5.11 and got the following error:
CC [M] /home/tzafrirc/Proj/Packs/xpmem/xpmem/kernel/xpmem_mmu_notifier.o
In file included from /home/tzafrirc/Proj/Packs/xpmem/xpmem/kernel/xpmem_mmu_notifier.c:20:
./arch/x86/include/asm/tlb.h: In function ‘tlb_flush’:
./arch/x86/include/asm/tlb.h:24:2: error: implicit declaration of function ‘flush_tlb_mm_range’; did you mean ‘flush_icache_range’? [-Werror=implicit-function-declaration]
24 | flush_tlb_mm_range(tlb->mm, start, end, stride_shift, tlb->freed_tables);
| ^~~~~~~~~~~~~~~~~~
| flush_icache_range
Kernel 5.7 is OK but kernel 5.8 onwards break. I tried changing the order of includes to place asm/tlbflush.h before asm/tlb.h but I see that this function does not seem to be available for modules.
The text was updated successfully, but these errors were encountered:
Fixes issue hpc#43 of implicit decleration of flush_tlb_mm_range from
./arch/x86/include/asm/tlb.
This issue is potentially x86-only.
Signed-off-by: Tzafrir Cohen <[email protected]>
I tried building xpmem with kernel 5.11 and got the following error:
Kernel 5.7 is OK but kernel 5.8 onwards break. I tried changing the order of includes to place asm/tlbflush.h before asm/tlb.h but I see that this function does not seem to be available for modules.
The text was updated successfully, but these errors were encountered: