[arnd-asm-generic:syscall-tbl-6.11 45/80] arch/parisc/kernel/sys_parisc.c:299:undefined reference to `ksys_inotify_init'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git syscall-tbl-6.11
head:   297d47a6407bea09324a4e1ba26a1735093f433f
commit: 6fcd1fc502adfe6e3fca25783617ebfa9b61dd66 [45/80] parisc SYSCALL_DEFINE
config: parisc-randconfig-r063-20240726 (https://download.01.org/0day-ci/archive/20240726/202407261747.czogEFdz-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240726/202407261747.czogEFdz-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202407261747.czogEFdz-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   hppa-linux-ld: arch/parisc/kernel/sys_parisc.o: in function `__do_sys_parisc_inotify_init1':
>> arch/parisc/kernel/sys_parisc.c:299:(.text+0x7f4): undefined reference to `ksys_inotify_init'
   hppa-linux-ld: arch/parisc/kernel/sys_parisc.o: in function `__do_sys_parisc_madvise':
>> arch/parisc/kernel/sys_parisc.c:327:(.text+0x84c): undefined reference to `do_madvise'


vim +299 arch/parisc/kernel/sys_parisc.c

   295	
   296	SYSCALL_DEFINE1(parisc_inotify_init1, int, flags)
   297	{
   298		flags = FIX_O_NONBLOCK(flags);
 > 299		return ksys_inotify_init(flags);
   300	}
   301	
   302	/*
   303	 * madvise() wrapper
   304	 *
   305	 * Up to kernel v6.1 parisc has different values than all other
   306	 * platforms for the MADV_xxx flags listed below.
   307	 * To keep binary compatibility with existing userspace programs
   308	 * translate the former values to the new values.
   309	 *
   310	 * XXX: Remove this wrapper in year 2025 (or later)
   311	 */
   312	
   313	SYSCALL_DEFINE3(parisc_madvise, unsigned long, start, size_t, len_in, int, behavior)
   314	{
   315		switch (behavior) {
   316		case 65: behavior = MADV_MERGEABLE;	break;
   317		case 66: behavior = MADV_UNMERGEABLE;	break;
   318		case 67: behavior = MADV_HUGEPAGE;	break;
   319		case 68: behavior = MADV_NOHUGEPAGE;	break;
   320		case 69: behavior = MADV_DONTDUMP;	break;
   321		case 70: behavior = MADV_DODUMP;	break;
   322		case 71: behavior = MADV_WIPEONFORK;	break;
   323		case 72: behavior = MADV_KEEPONFORK;	break;
   324		case 73: behavior = MADV_COLLAPSE;	break;
   325		}
   326	
 > 327		return do_madvise(current->mm, start, len_in, behavior);

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux