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:
@ -539,7 +539,11 @@ retry_alloc:
|
|||||||
#define USE_VM_INSERT_PFN 1
|
#define USE_VM_INSERT_PFN 1
|
||||||
|
|
||||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
|
#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)
|
static int rus_vm_fault(struct vm_fault *vmf)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
struct vm_area_struct *vma = vmf->vma;
|
struct vm_area_struct *vma = vmf->vma;
|
||||||
#else
|
#else
|
||||||
|
|||||||
2
ihk
2
ihk
Submodule ihk updated: 7c4b8d6b40...df12c9102c
Reference in New Issue
Block a user