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>
Wed, 21 Sep 2011 15:54:07 +0000 (17:54 +0200)
commit0f4ccbc835036cbcc2513585bb2e93ee62e12674
treef70b98675abd1d6dbdd28c30863d9ea09e31d8db
parentd968275921f9fa7fbc602ac6618ffec6a062ee3c
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