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: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Cc: Oleg Nesterov <oleg@redhat.com> Acked-by: David Rientjes <rientjes@google.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
1b4ace4141
commit
64b990d295
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ struct page_frag_cache {
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue