]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd63940d8be389757cb6607b4e4a7350c1609f388
treeccc081325d055339d853858bdcb8a9cd7c7d2a1c
parentc4207df437f7a5edc3b5d45be6a98e7b9090d315
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