On 7/26/22 6:18 PM, Alviro Iskandar Setiawan wrote:
Now __NR_mmap2 is only used for i386. But it is also needed for other archs like ARM and RISCV32. Decide to use it based on the __NR_mmap2 definition as it's not defined on other archs. Currently, this has no effect because other archs use the generic mmap definition from libc. Signed-off-by: Alviro Iskandar Setiawan <alviro.iskandar@xxxxxxxxxxx>
Acked-by: Ammar Faizi <ammarfaizi2@xxxxxxxxxxx> -- Ammar Faizi