criu/include/common/arch/mips
Vladislav Khmelevsky 1e4f5fb2b6 Return page size as unsigned long
Currently page_size() returns unsigned int value that is after "bitwise
not" is promoted to unsigned long value e.g. in uffd.c
handle_page_fault. Since the value is unsigned promotion is done with 0
MSB that results in lost of MSB pagefault address bits. So make
page_size to return  unsigned long to avoid such situation.

Signed-off-by: Vladislav Khmelevsky <och95@yandex.ru>
2023-09-28 08:21:13 -07:00
..
asm Return page size as unsigned long 2023-09-28 08:21:13 -07:00