]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: don't manipulate the mm.mm_users field directly
authorLaurent Dufour <ldufour@linux.ibm.com>
Wed, 10 Mar 2021 17:44:05 +0000 (18:44 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Mar 2021 01:52:24 +0000 (12:52 +1100)
commit0605936c026dd2ae5990ea7eb63ebfc120f0d4b4
treed8d4360072be6a50c46a2e312c0c9ab3c7da028c
parenta77b7711b463b9b62e65d1967444c78d7ceea7b2
cxl: don't manipulate the mm.mm_users field directly

It is better to rely on the API provided by the MM layer instead of
directly manipulating the mm_users field.

Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210310174405.51044-1-ldufour@linux.ibm.com
drivers/misc/cxl/fault.c