Skip to content
Commit d3ce0e98 authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

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: default avatarDavid Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2033/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 91b51f30
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment