MIPS: Use uasm_i_ds{r,l}l_safe() instead of uasm_i_ds{r,l}l() in tlbex.c
authorDavid Daney <ddaney@caviumnetworks.com>
Wed, 28 Apr 2010 19:16:17 +0000 (12:16 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 30 Apr 2010 19:52:47 +0000 (20:52 +0100)
commit3be6022c27ace1e3b4ba963e7ffd2e3b60cecd8a
tree617178ac2ee9395e609aef3899b56756fb701cbb
parent26b9e547e90db6b8b409084a9d4501124ff492b3
MIPS: Use uasm_i_ds{r,l}l_safe() instead of uasm_i_ds{r,l}l() in tlbex.c

This makes the code somewhat cleaner while reducing the risk of shift
amount overflows when various page table related options are changed.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1154/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mm/tlbex.c