MIPS: IP22: Fix constant loaded.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Fixes: 09852585a6fb ("MIPS: IP22: Fix binutils due to binutils 2.25 uselessnes.")
(cherry picked from commit e906e99fa0156af4bdaa29fa9c1c545b86041ed7)
diff --git a/arch/mips/mm/sc-ip22.c b/arch/mips/mm/sc-ip22.c
index 6cedf9c..4ec3bc3 100644
--- a/arch/mips/mm/sc-ip22.c
+++ b/arch/mips/mm/sc-ip22.c
@@ -46,9 +46,12 @@
" # Required because binutils 2.25 will happily accept \n"
" # 64 bit instructions in .set mips3 mode but puke on \n"
" # 64 bit constants when generating 32 bit ELF \n"
- #
- " li $1, 0x9000 \n"
- " dsll $1, $1, 48 \n"
+ # \n"
+ " lui $1,0x9000 \n"
+ " dsll $1,$1,0x10 \n"
+ " ori $1,$1,0x8000 \n"
+ " dsll $1,$1,0x10 \n"
+ " \n"
" or %0, $1 # first line to flush \n"
" or %1, $1 # last line to flush \n"
" .set at \n"