]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
alpha: update syscall macro definitions
authorArnd Bergmann <arnd@arndb.de>
Sun, 30 Dec 2018 14:16:48 +0000 (15:16 +0100)
committerArnd Bergmann <arnd@arndb.de>
Fri, 25 Jan 2019 16:22:20 +0000 (17:22 +0100)
commit12b57c5c70f397a9410411d4e348096edada20f9
treef55d7e5e662c3faa61b48dc0964195f4c16f2ebb
parentd012d1325ba523b8ef3e55ba79c943e220154fdc
alpha: update syscall macro definitions

Other architectures commonly use __NR_umount2 for sys_umount,
only ia64 and alpha use __NR_umount here. In order to synchronize
the generated tables, use umount2 like everyone else, and add back
the old name from asm/unistd.h for compatibility.

For shmat, alpha uses the osf_shmat name, we can do the same thing
here, which means we don't have to add an entry in the __IGNORE
list now that shmat is mandatory everywhere

alarm, creat, pause, time, and utime are optional everywhere
these days, no need to list them here any more.

I considered also adding the regular versions of the get*id system
calls that have different names and calling conventions on alpha,
which would further help unify the syscall ABI, but for now
I decided against that.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/alpha/include/asm/unistd.h
arch/alpha/include/uapi/asm/unistd.h
arch/alpha/kernel/syscalls/syscall.tbl