On Sun, 18 Nov 2012, Josh Triplett wrote:

> include/linux/huge_mm.h declares is_vma_temporary_stack inside an ifdef
> CONFIG_TRANSPARENT_HUGEPAGE; however, mm/rmap.c defines the function
> unconditionally.  Move the function outside of the ifdef.
> 
> This eliminates a warning from gcc (-Wmissing-prototypes) and from
> Sparse (-Wdecl).
> 
> mm/rmap.c:1440:6: warning: no previous prototype for ‘is_vma_temporary_stack’ 
> [-Wmissing-prototypes]
> 
> Signed-off-by: Josh Triplett <j...@joshtriplett.org>

Acked-by: David Rientjes <rient...@google.com>

Reply via email to