Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64b990d2 authored by Kirill A. Shutemov's avatar Kirill A. Shutemov Committed by Linus Torvalds
Browse files

mm: drop __nocast from vm_flags_t definition



__nocast does no good for vm_flags_t. It only produces useless sparse
warnings.

Let's drop it.

Signed-off-by: default avatarKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Acked-by: default avatarDavid Rientjes <rientjes@google.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 1b4ace41
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -235,7 +235,7 @@ struct page_frag_cache {
	bool pfmemalloc;
	bool pfmemalloc;
};
};


typedef unsigned long __nocast vm_flags_t;
typedef unsigned long vm_flags_t;


/*
/*
 * A region containing a mapping of a non-memory backed file under NOMMU
 * A region containing a mapping of a non-memory backed file under NOMMU