]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: No branches in delay slots for huge pages in handle_tlbl
authorDavid Daney <david.daney@cavium.com>
Sat, 17 Sep 2011 01:06:02 +0000 (18:06 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 19 Sep 2011 00:34:59 +0000 (02:34 +0200)
commita6ad7722a8b51c0810098417c0a494ec870a1b7d
tree86f21b29de79813c9a9dad77d0f2b2159230edc0
parent7a6ec86ef6624f7edb62a95d3fa2b969e3644152
MIPS: No branches in delay slots for huge pages in handle_tlbl

For the case PM_DEFAULT_MASK == 0, we were placing a branch in the
delay slot of another branch.  This leads to undefined behavior.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2775/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c