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

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
...@@ -235,7 +235,7 @@ struct page_frag_cache { ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment