linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] asm-generic: syscall table script for arch/sh
@ 2018-12-20 23:28 Arnd Bergmann
  2018-12-21  7:06 ` Christoph Hellwig
  2018-12-26 19:20 ` pr-tracker-bot
  0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2018-12-20 23:28 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Rich Felker, Firoz Khan, Linux API, y2038 Mailman List,
	Linux Kernel Mailing List, Linux-sh list, Yoshinori Sato

The following changes since commit 2e6e902d185027f8e3cb8b7305238f7e35d6a436:

  Linux 4.20-rc4 (2018-11-25 14:19:31 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git
tags/asm-generic-4.21

for you to fetch changes up to 2b3c5a99d5f314960e00950c1782eac9361de30f:

  sh: generate uapi header and syscall table header files (2018-12-19
17:54:40 +0100)

----------------------------------------------------------------
asm-generic: syscall table script for arch/sh

I worked with Firoz Khan to change all architectures to have their system
call tables (syscall.S and asm/unistd.h) generated by a script from a more
readable input file the same way that we already had on x86, s390 and arm.

I offered to take those conversions through the asm-generic tree that
did not get picked up by the architecture maintainers, and fortunately
all but one have now been accepted into arch maintainer trees, so this
branch only contains the conversion for arch/sh/, with permission from
Rich.

The conversion does not include the old 64-bit sh5 architecture, which
has never shipped and not even compiled in a long time. The table
in include/uapi/asm/unistd.h is also not included here, as Firoz is
still working on that one. It will have to wait for the next following
merge window, hopefully together with the addition of the 64-bit
time_t system calls for the y2038 work that led to the system call
table rework.

Acked-by: Rich Felker <dalias@libc.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

----------------------------------------------------------------
Firoz Khan (3):
      sh: add __NR_syscalls along with NR_syscalls
      sh: add system call table generation support
      sh: generate uapi header and syscall table header files

 arch/sh/Makefile                      |   3 +
 arch/sh/include/asm/Kbuild            |   1 +
 arch/sh/include/asm/unistd.h          |   2 +
 arch/sh/include/uapi/asm/Kbuild       |   1 +
 arch/sh/include/uapi/asm/unistd_32.h  |   4 +-
 arch/sh/include/uapi/asm/unistd_64.h  |   4 +-
 arch/sh/kernel/syscalls/Makefile      |  38 +++++++++
 arch/sh/kernel/syscalls/syscall.tbl   | 392
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/sh/kernel/syscalls/syscallhdr.sh |  36 ++++++++
 arch/sh/kernel/syscalls/syscalltbl.sh |  32 +++++++
 arch/sh/kernel/syscalls_32.S          | 387
+-----------------------------------------------------------------------------------
 11 files changed, 514 insertions(+), 386 deletions(-)
 create mode 100644 arch/sh/kernel/syscalls/Makefile
 create mode 100644 arch/sh/kernel/syscalls/syscall.tbl
 create mode 100644 arch/sh/kernel/syscalls/syscallhdr.sh
 create mode 100644 arch/sh/kernel/syscalls/syscalltbl.sh

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] asm-generic: syscall table script for arch/sh
  2018-12-20 23:28 [GIT PULL] asm-generic: syscall table script for arch/sh Arnd Bergmann
@ 2018-12-21  7:06 ` Christoph Hellwig
  2018-12-26 19:20 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2018-12-21  7:06 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Linus Torvalds, Rich Felker, Firoz Khan, Linux API,
	y2038 Mailman List, Linux Kernel Mailing List, Linux-sh list,
	Yoshinori Sato

> The conversion does not include the old 64-bit sh5 architecture, which
> has never shipped and not even compiled in a long time.

Maybe it is time to drop the code for it then?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [GIT PULL] asm-generic: syscall table script for arch/sh
  2018-12-20 23:28 [GIT PULL] asm-generic: syscall table script for arch/sh Arnd Bergmann
  2018-12-21  7:06 ` Christoph Hellwig
@ 2018-12-26 19:20 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: pr-tracker-bot @ 2018-12-26 19:20 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: Rich Felker, Yoshinori Sato, Linux-sh list, y2038 Mailman List,
	Linux API, Linux Kernel Mailing List, Firoz Khan, Linus Torvalds

The pull request you sent on Fri, 21 Dec 2018 00:28:51 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git tags/asm-generic-4.21

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/507413a5f88a2240b2c19cb4318166614e2349d9

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker
_______________________________________________
Y2038 mailing list
Y2038@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/y2038

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-26 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-20 23:28 [GIT PULL] asm-generic: syscall table script for arch/sh Arnd Bergmann
2018-12-21  7:06 ` Christoph Hellwig
2018-12-26 19:20 ` pr-tracker-bot

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).