MIPS: Replace some magic numbers with symbolic values in tlbex.c
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 20 May 2009 18:40:58 +0000 (11:40 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 17 Jun 2009 10:06:25 +0000 (11:06 +0100)
commite6f72d3abafd50984decc2833c706e717f5ba04e
treeccc081325d055339d853858bdcb8a9cd7c7d2a1c
parent742cd5867b2ef7ce865d7ab67574c4e3aa1fb155
MIPS: Replace some magic numbers with symbolic values in tlbex.c

The logic used to split the r4000 refill handler is liberally
sprinkled with magic numbers.  We attempt to explain what they are and
normalize them against a new symbolic value (MIPS64_REFILL_INSNS).

CC: David VomLehn <dvomlehn@cisco.com>
Reviewed-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c