]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
fixup: size of the lock_seq
authorSuren Baghdasaryan <surenb@google.com>
Wed, 14 Dec 2022 07:56:21 +0000 (23:56 -0800)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 4 Jan 2023 20:59:27 +0000 (15:59 -0500)
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
include/linux/mm.h

index 747edd74e7b5c825c3720a6385b3089f381df4e7..99e5eb693d44bd48d7fbbc260645c9c8005dc478 100644 (file)
@@ -620,7 +620,7 @@ void vma_lock_free(struct vm_area_struct *vma);
 
 static inline void vma_write_lock(struct vm_area_struct *vma)
 {
-       int mm_lock_seq;
+       long mm_lock_seq;
 
        mmap_assert_write_locked(vma->vm_mm);