Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26 lines
749 B
C
26 lines
749 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* sys_parisc32.c: Conversion between 32bit and 64bit native syscalls.
|
|
*
|
|
* Copyright (C) 2000-2001 Hewlett Packard Company
|
|
* Copyright (C) 2000 John Marvin
|
|
* Copyright (C) 2001 Matthew Wilcox
|
|
* Copyright (C) 2014 Helge Deller <deller@gmx.de>
|
|
*
|
|
* These routines maintain argument size conversion between 32bit and 64bit
|
|
* environment. Based heavily on sys_ia32.c and sys_sparc32.c.
|
|
*/
|
|
|
|
#include <linux/compat.h>
|
|
#include <linux/kernel.h>
|
|
#include <linux/syscalls.h>
|
|
|
|
|
|
asmlinkage long sys32_unimplemented(int r26, int r25, int r24, int r23,
|
|
int r22, int r21, int r20)
|
|
{
|
|
printk(KERN_ERR "%s(%d): Unimplemented 32 on 64 syscall #%d!\n",
|
|
current->comm, current->pid, r20);
|
|
return -ENOSYS;
|
|
}
|