Re: [PATCH] HugeTLB: Fix unused variable warning
From: Eric B Munson
Date: Thu Sep 24 2009 - 07:51:49 EST
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@xxxxxxxxxx>
> 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@xxxxxxxxxx>
Acked-by: Eric B Munson <ebmunson@xxxxxxxxxx>
Attachment:
signature.asc
Description: Digital signature