mm-mpx-add-vm_flags_t-vm_flags-arg-to-do_mmap_pgoff-fix

   mm/nommu.c: In function 'do_mmap':
>> mm/nommu.c:1248:30: error: 'vm_flags' redeclared as different kind of symbol
     unsigned long capabilities, vm_flags, result;
                                 ^
   mm/nommu.c:1241:15: note: previous definition of 'vm_flags' was here
       vm_flags_t vm_flags,

Reported-by: Wu Fengguang <fengguang.wu@intel.com>
Reported-by: Oleg Nesterov <oleg@redhat.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Tested-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
1 file changed