Skip to content

Commit

Permalink
fix driver error on rhel95
Browse files Browse the repository at this point in the history
  • Loading branch information
Insomnia1437 authored and jerzyjamroz committed Jan 29, 2025
1 parent 6faa42f commit ba5e9c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mrmShared/linux/uio_mrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ int mrf_mmap_physical(struct uio_info *info, struct vm_area_struct *vma)

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)
vm_flags_set(vma, VM_IO | VM_RESERVED);
#elif defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= 0x906)
#elif defined(RHEL_RELEASE_CODE) && (RHEL_RELEASE_CODE >= 0x905)
vm_flags_set(vma, VM_IO | VM_RESERVED);
#else
vma->vm_flags |= VM_IO | VM_RESERVED;
Expand Down

0 comments on commit ba5e9c4

Please sign in to comment.