mm-commits.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* + all-arch-remove-system-call-sys_sysctl-fix.patch added to -mm tree
@ 2020-06-21  0:44 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2020-06-21  0:44 UTC (permalink / raw)
  To: mm-commits, lkp, heiko.carstens, nixiaoming


The patch titled
     Subject: s390: fix build error for sys_call_table_emu
has been added to the -mm tree.  Its filename is
     all-arch-remove-system-call-sys_sysctl-fix.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/all-arch-remove-system-call-sys_sysctl-fix.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/all-arch-remove-system-call-sys_sysctl-fix.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Xiaoming Ni <nixiaoming@huawei.com>
Subject: s390: fix build error for sys_call_table_emu

Build error on s390:
	arch/s390/kernel/entry.o: in function `sys_call_table_emu':
	>> (.rodata+0x1288): undefined reference to `__s390_'

In commit ("All arch: remove system call sys_sysctl")
 148  common	fdatasync		sys_fdatasync			sys_fdatasync
-149  common	_sysctl			sys_sysctl			compat_sys_sysctl
+149  common	_sysctl			sys_ni_syscall
 150  common	mlock			sys_mlock			sys_mlock

After the patch is integrated, there is a format error in the generated
arch/s390/include/generated/asm/syscall_table.h:
	SYSCALL(sys_fdatasync, sys_fdatasync)
	SYSCALL(sys_ni_syscall,) /* cause build error */
	SYSCALL(sys_mlock,sys_mlock)

According to the guidance of Heiko Carstens, use "-" to fill the empty
system call Similarly, modify
tools/perf/arch/s390/entry/syscalls/syscall.tbl.

Link: http://lkml.kernel.org/r/20200618141426.16884-1-nixiaoming@huawei.com
Fixes: ("All arch: remove system call sys_sysctl")
Fixes: https://lore.kernel.org/linuxppc-dev/20200616030734.87257-1-nixiaoming@huawei.com/
Signed-off-by: Xiaoming Ni <nixiaoming@huawei.com>
Reported-by: kernel test robot <lkp@intel.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/s390/kernel/syscalls/syscall.tbl           |    2 +-
 tools/perf/arch/s390/entry/syscalls/syscall.tbl |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/arch/s390/kernel/syscalls/syscall.tbl~all-arch-remove-system-call-sys_sysctl-fix
+++ a/arch/s390/kernel/syscalls/syscall.tbl
@@ -138,7 +138,7 @@
 146  common	writev			sys_writev			compat_sys_writev
 147  common	getsid			sys_getsid			sys_getsid
 148  common	fdatasync		sys_fdatasync			sys_fdatasync
-149  common	_sysctl			sys_ni_syscall
+149  common	_sysctl			-				-
 150  common	mlock			sys_mlock			sys_mlock
 151  common	munlock			sys_munlock			sys_munlock
 152  common	mlockall		sys_mlockall			sys_mlockall
--- a/tools/perf/arch/s390/entry/syscalls/syscall.tbl~all-arch-remove-system-call-sys_sysctl-fix
+++ a/tools/perf/arch/s390/entry/syscalls/syscall.tbl
@@ -138,7 +138,7 @@
 146  common	writev			sys_writev			compat_sys_writev
 147  common	getsid			sys_getsid			sys_getsid
 148  common	fdatasync		sys_fdatasync			sys_fdatasync
-149  common	_sysctl			sys_ni_syscall
+149  common	_sysctl			-				-
 150  common	mlock			sys_mlock			compat_sys_mlock
 151  common	munlock			sys_munlock			compat_sys_munlock
 152  common	mlockall		sys_mlockall			sys_mlockall
_

Patches currently in -mm which might be from nixiaoming@huawei.com are

all-arch-remove-system-call-sys_sysctl.patch
all-arch-remove-system-call-sys_sysctl-fix.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-06-21  0:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-21  0:44 + all-arch-remove-system-call-sys_sysctl-fix.patch added to -mm tree akpm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).