Re: [PATCH] selftests: mm: Fix build errors on armhf

2024-08-19 Thread Muhammad Usama Anjum
On 8/14/24 3:29 AM, Jeff Xu wrote: > Hi Muhammad > > On Fri, Aug 9, 2024 at 1:25 AM Muhammad Usama Anjum > wrote: >> >> The __NR_mmap isn't found on armhf. The mmap() is commonly available >> system call and its wrapper is presnet on all architectures. So it >> should be used directly. It solves

Re: [PATCH] selftests: mm: Fix build errors on armhf

2024-08-13 Thread Jeff Xu
Hi Muhammad On Fri, Aug 9, 2024 at 1:25 AM Muhammad Usama Anjum wrote: > > The __NR_mmap isn't found on armhf. The mmap() is commonly available > system call and its wrapper is presnet on all architectures. So it > should be used directly. It solves problem for armhf and doesn't create > problem

[PATCH] selftests: mm: Fix build errors on armhf

2024-08-09 Thread Muhammad Usama Anjum
The __NR_mmap isn't found on armhf. The mmap() is commonly available system call and its wrapper is presnet on all architectures. So it should be used directly. It solves problem for armhf and doesn't create problem for architectures as well. Remove sys_mmap() functions as they aren't doing anythin