Re: [PATCH 2/2] x86: Allow disabling of sys_iopl, sys_ioperm

H. Peter Anvin
2011-07-14T22:35:57Z

On 07/14/2011 03:31 PM, Andrew Morton wrote:
>
> sys_iopl() is missing asmlinkage.
>
> It would be far more conventional to use cond_syscall(). Perhaps by
> adding a CONFIG_X86 area into kernel/sys_ni.c
>
> fyi, I'm offering special deals on checkpatch.pl site licenses this month.

Again, I don't think this makes sense as a compile-time-only option.

-hpa