cmemk: Fix usage of mmap_sem for 5.8+ kernels

The mmap_sem locking semantics were abstracted out in preparation for
some scalability work in v5.8 kernel. The mmap_sem field is no longer
defined (renamed), and is abstracted out through newly introduced
mmap_read_{lock,unlock} wrappers in a new mmap_lock.h file in commit
9740ca4e95b4 ("mmap locking API: initial implementation as rwsem
wrappers").

Adopt to these new wrappers to fix the CMEM kernel module build against
these newer kernels.

Signed-off-by: Suman Anna <s-anna@ti.com>
1 file changed