From: David Daney Date: Mon, 24 Jan 2011 22:51:37 +0000 (-0800) Subject: MIPS: Fix GCC-4.6 'set but not used' warning in arch/mips/mm/init.c X-Git-Tag: v2.6.38~2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3ce0e98b7fe17bb1dec9f6d7c50213db01e7189;p=pandora-kernel.git MIPS: Fix GCC-4.6 'set but not used' warning in arch/mips/mm/init.c Under some combinations of CONFIG_*, lastpfn in page_is_ram is 'set but not used'. Mark it as __maybe_unused to quiet the warning/error. Signed-off-by: David Daney To: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2033/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed