Fix compilation error

This commit is contained in:
eabdullin 2023-12-07 18:04:09 +03:00
parent d4e07315a1
commit a05eef1a2b
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff -aruN linux-5.14.0-362.8.1.el9_3/arch/powerpc/kvm/book3s_64_vio_hv.c linux-5.14.0-362.8.1.el9_3.alma/arch/powerpc/kvm/book3s_64_vio_hv.c
--- linux-5.14.0-362.8.1.el9_3/arch/powerpc/kvm/book3s_64_vio_hv.c 2023-11-07 20:57:43
+++ linux-5.14.0-362.8.1.el9_3.alma/arch/powerpc/kvm/book3s_64_vio_hv.c 2023-12-07 17:59:41
@@ -488,7 +488,7 @@
/*
* used to check for invalidations in progress
*/
- mmu_seq = kvm->mmu_notifier_seq;
+ mmu_seq = kvm->mmu_invalidate_seq;
smp_rmb();
stt = kvmppc_find_table(vcpu->kvm, liobn);

View File

@ -947,7 +947,9 @@ Source4002: gating.yaml
Patch1: patch-%{patchversion}-redhat.patch Patch1: patch-%{patchversion}-redhat.patch
%endif %endif
# AlmaLinux patches
Patch100: eaaaed137eccb9e8f3a88f6297e214f53885196f.patch Patch100: eaaaed137eccb9e8f3a88f6297e214f53885196f.patch
Patch101: Rename-mmu_notifier_seq-to-mmu_invalidate_seq-in-book3s_64_vio_hv.patch
# empty final patch to facilitate testing of kernel patches # empty final patch to facilitate testing of kernel patches
Patch999999: linux-kernel-test.patch Patch999999: linux-kernel-test.patch
@ -1694,6 +1696,7 @@ ApplyOptionalPatch patch-%{patchversion}-redhat.patch
%endif %endif
ApplyOptionalPatch eaaaed137eccb9e8f3a88f6297e214f53885196f.patch ApplyOptionalPatch eaaaed137eccb9e8f3a88f6297e214f53885196f.patch
ApplyOptionalPatch Rename-mmu_notifier_seq-to-mmu_invalidate_seq-in-book3s_64_vio_hv.patch
ApplyOptionalPatch linux-kernel-test.patch ApplyOptionalPatch linux-kernel-test.patch
# END OF PATCH APPLICATIONS # END OF PATCH APPLICATIONS