Hello, When CONFIG_PAGE_SIZE_64KB=y is selected, the 2.6.38.3 kernel does not compile. The error is:
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
The corresponding source code fragment in "arch/mips/power/hibernate.S" is:
LEAF(swsusp_arch_resume)
PTR_L t0, restore_pblist
0:
PTR_L t1, PBE_ADDRESS(t0) /* source */
PTR_L t2, PBE_ORIG_ADDRESS(t0) /* destination */
PTR_ADDIU t3, t1, PAGE_SIZE
^^^^^^^^^^^^^^^^^^^^^^^^^^^ this line is the problem.
I suppose that has been added recently, as I remember successfully compiling
and using kernels with CONFIG_PAGE_SIZE_64KB=y earlier.
What would be the proper way of adjusting this fragment so it works with
CONFIG_PAGE_SIZE_64KB?
--
With respect,
Roman
signature.asc
Description: PGP signature
