diff options
Diffstat (limited to 'drivers/misc/cxl/fault.c')
-rw-r--r-- | drivers/misc/cxl/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/cxl/fault.c b/drivers/misc/cxl/fault.c index dc7b34174f85..a4d17a5a9763 100644 --- a/drivers/misc/cxl/fault.c +++ b/drivers/misc/cxl/fault.c | |||
@@ -168,7 +168,7 @@ int cxl_handle_mm_fault(struct mm_struct *mm, u64 dsisr, u64 dar) | |||
168 | if (dsisr & CXL_PSL_DSISR_An_S) | 168 | if (dsisr & CXL_PSL_DSISR_An_S) |
169 | access |= _PAGE_WRITE; | 169 | access |= _PAGE_WRITE; |
170 | 170 | ||
171 | if (!mm && (REGION_ID(dar) != USER_REGION_ID)) | 171 | if (!mm && (get_region_id(dar) != USER_REGION_ID)) |
172 | access |= _PAGE_PRIVILEGED; | 172 | access |= _PAGE_PRIVILEGED; |
173 | 173 | ||
174 | if (dsisr & DSISR_NOHPTE) | 174 | if (dsisr & DSISR_NOHPTE) |