lkml.org 
[lkml]   [2009]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] HugeTLB: Fix unused variable warning
On Thu, 24 Sep 2009, David Howells wrote:

> Fix an unused variable warning:
>
> mm/mmap.c: In function 'do_mmap_pgoff':
> mm/mmap.c:953: warning: unused variable 'user'
>
> by converting the CONFIG_HUGETLBFS=n version of hugetlb_file_setup() into an
> inline function instead of a macro.
>
> Introduced by:
>
> commit 4e52780d41a741fb4861ae1df2413dd816ec11b1
> Author: Eric B Munson <ebmunson@us.ibm.com>
> Date: Mon Sep 21 17:03:47 2009 -0700
> hugetlb: add MAP_HUGETLB for mmaping pseudo-anonymous huge page regions
>
> Signed-off-by: David Howells <dhowells@redhat.com>

Acked-by: Eric B Munson <ebmunson@us.ibm.com>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2009-09-24 13:53    [W:0.049 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site