From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH v12 4/7] x86/syscalls/32: Wire up arch_prctl on x86-32 Date: Fri, 18 Nov 2016 08:30:12 +0100 Message-ID: <20161118073012.GB15912@gmail.com> References: <20161117020610.5302-1-khuey@kylehuey.com> <20161117020610.5302-5-khuey@kylehuey.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Robert O'Callahan , Thomas Gleixner , Andy Lutomirski , Ingo Molnar , "H. Peter Anvin" , x86@kernel.org, Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Jeff Dike , Richard Weinberger , Alexander Viro , Shuah Khan , Dave Hansen , Borislav Petkov , Peter Zijlstra , Boris Ostrovsky , Len Brown , "Rafael J. Wysocki" , Dmitry Safonov , David Matlack , To: Kyle Huey Return-path: Content-Disposition: inline In-Reply-To: <20161117020610.5302-5-khuey@kylehuey.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org * Kyle Huey wrote: > --- a/include/linux/compat.h > +++ b/include/linux/compat.h > @@ -716,16 +716,18 @@ int __compat_save_altstack(compat_stack_t __user *, unsigned long); > } while (0); > > asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid, > struct compat_timespec __user *interval); > > asmlinkage long compat_sys_fanotify_mark(int, unsigned int, __u32, __u32, > int, const char __user *); > > +asmlinkage long compat_sys_arch_prctl(int, unsigned long); Please always use prototypes with proper argument names spelled out, i.e.: +asmlinkage long compat_sys_arch_prctl(int option, unsigned long arg2); Thanks, Ingo