···9999 *100100 * Also note that we take the address to load from from the file itself.101101 */102102-asmlinkage long sys_uselib(const char __user * library)102102+SYSCALL_DEFINE1(uselib, const char __user *, library)103103{104104 struct file *file;105105 struct nameidata nd;
+1-1
fs/filesystems.c
···179179/*180180 * Whee.. Weird sysv syscall. 181181 */182182-asmlinkage long sys_sysfs(int option, unsigned long arg1, unsigned long arg2)182182+SYSCALL_DEFINE3(sysfs, int, option, unsigned long, arg1, unsigned long, arg2)183183{184184 int retval = -EINVAL;185185
···574574#define arch_ptrace_attach(child) do { } while (0)575575#endif576576577577-asmlinkage long sys_ptrace(long request, long pid, long addr, long data)577577+SYSCALL_DEFINE4(ptrace, long, request, long, pid, long, addr, long, data)578578{579579 struct task_struct *child;580580 long ret;
+2-2
kernel/sysctl.c
···16881688 return error;16891689}1690169016911691-asmlinkage long sys_sysctl(struct __sysctl_args __user *args)16911691+SYSCALL_DEFINE1(sysctl, struct __sysctl_args __user *, args)16921692{16931693 struct __sysctl_args tmp;16941694 int error;···29892989#else /* CONFIG_SYSCTL_SYSCALL */299029902991299129922992-asmlinkage long sys_sysctl(struct __sysctl_args __user *args)29922992+SYSCALL_DEFINE1(sysctl, struct __sysctl_args __user *, args)29932993{29942994 struct __sysctl_args tmp;29952995 int error;