]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Hibernation: Fixes for PAGE_SIZE >= 64kb
authorWu Zhangjin <wuzhangjin@gmail.com>
Sat, 23 Apr 2011 21:56:59 +0000 (05:56 +0800)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 10 May 2011 17:15:26 +0000 (18:15 +0100)
commitcc8838fa220ebfe7e362413de3d3a7b44a698adf
treebd903d347cafd3f3fcd9c717b2d90a0894798d6d
parentc36f90cb93d7875662eccd79e6d100ccc629ced5
MIPS: Hibernation: Fixes for PAGE_SIZE >= 64kb

PAGE_SIZE >= 64kb (1 << 16) is too big to be the immediate of the
addiu/daddiu instruction, so, use addu/daddu instruction instead.

The following compiling error is fixed:

AS      arch/mips/power/hibernate.o
arch/mips/power/hibernate.S: Assembler messages:
arch/mips/power/hibernate.S:38: Error: expression out of range
make[2]: *** [arch/mips/power/hibernate.o] Error 1
make[1]: *** [arch/mips/power] Error 2

Reported-by: Roman Mamedov <rm@romanrm.ru>
Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2313/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/power/hibernate.S