rus_vm_fault: compat: RHEL-8.2

This applies the following patch:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1c8f422059ae5da07db7406ab916203f9417e396
mm: change return type to vm_fault_t

Change-Id: I7189fc92824d21b4906f1033f1de5899bbad4680
This commit is contained in:
Masamichi Takagi
2020-06-25 12:31:19 +09:00
parent 9a60997ea0
commit b3d7bbda56
2 changed files with 5 additions and 1 deletions

View File

@ -539,7 +539,11 @@ retry_alloc:
#define USE_VM_INSERT_PFN 1
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#if defined(RHEL_RELEASE_CODE) && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8, 2)
static vm_fault_t rus_vm_fault(struct vm_fault *vmf)
#else
static int rus_vm_fault(struct vm_fault *vmf)
#endif
{
struct vm_area_struct *vma = vmf->vma;
#else

2
ihk

Submodule ihk updated: 7c4b8d6b40...df12c9102c