MIPS: Fix GCC-4.6 'set but not used' warning in arch/mips/mm/init.c
authorDavid Daney <ddaney@caviumnetworks.com>
Mon, 24 Jan 2011 22:51:37 +0000 (14:51 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 14 Mar 2011 20:07:26 +0000 (21:07 +0100)
commitd3ce0e98b7fe17bb1dec9f6d7c50213db01e7189
tree7be0c825c8f8e894c4bec17762046d1f774bb4e9
parent91b51f30084911754aed004bd3792f71f7bf0843
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 <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2033/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/init.c