Re: [hnaz-linux-mm:master 196/224] arch/arm64/include/asm/unistd32.h:897:11: error: '__NR_process_madvise' undeclared here (not in a function)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 25 Jun 2020 21:53:09 +0800 kernel test robot <lkp@xxxxxxxxx> wrote:

> tree:   https://github.com/hnaz/linux-mm master
> head:   40d47c26669bdbaa1062e636371a4bf4f9b6f0e5
> commit: 25003a4287763edd30991a6b03e15d1c8d434565 [196/224] mm/madvise: introduce process_madvise() syscall: an external memory hinting API
> config: arm64-allyesconfig (attached as .config)
> compiler: aarch64-linux-gcc (GCC) 9.3.0
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout 25003a4287763edd30991a6b03e15d1c8d434565
>         # save the attached .config to linux build tree
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 
> 
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> 
> All error/warnings (new ones prefixed by >>):
> 
>    In file included from arch/arm64/kernel/sys32.c:127:
> >> arch/arm64/include/asm/unistd32.h:896: warning: "__NR_fsinfo" redefined

oops, thanks.

--- a/arch/arm64/include/asm/unistd32.h~mm-madvise-introduce-process_madvise-syscall-an-external-memory-hinting-api-fix
+++ a/arch/arm64/include/asm/unistd32.h
@@ -893,7 +893,7 @@ __SYSCALL(__NR_watch_mount, sys_watch_mo
 __SYSCALL(__NR_watch_sb, sys_watch_sb)
 #define __NR_fsinfo 442
 __SYSCALL(__NR_fsinfo, sys_fsinfo)
-#define __NR_fsinfo 443
+#define __NR_process_madvise 443
 __SYSCALL(__NR_process_madvise, compat_sys_process_madvise)
 
 /*
_





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux