criu/include/common/arch
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
..
aarch64/asm Return page size as unsigned long 2023-09-28 08:21:13 -07:00
arm/asm Run 'make indent' on header files 2021-09-03 10:31:00 -07:00
loongarch64/asm Return page size as unsigned long 2023-09-28 08:21:13 -07:00
mips/asm Return page size as unsigned long 2023-09-28 08:21:13 -07:00
ppc64/asm Return page size as unsigned long 2023-09-28 08:21:13 -07:00
s390/asm asm: fix for_each_bit macro 2023-04-15 21:17:21 -07:00
x86/asm asm: fix for_each_bit macro 2023-04-15 21:17:21 -07:00