]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit92f2b49b5d9c4d4cb44ef78835dc656b8f3cca63
tree617178ac2ee9395e609aef3899b56756fb701cbb
parent68cb37376bdc64973d86aba689e448faa08955e9
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