x86: get rid of pt_regs argument of iopl(2)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro
2012-11-19 22:00:52 -05:00
bovenliggende ea93a6e2e7
commit b3af11afe0
7 gewijzigde bestanden met toevoegingen van 17 en 24 verwijderingen

Bestand weergeven

@@ -93,8 +93,9 @@ asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int turn_on)
* on system-call entry - see also fork() and the signal handling
* code.
*/
long sys_iopl(unsigned int level, struct pt_regs *regs)
SYSCALL_DEFINE1(iopl, unsigned int, level)
{
struct pt_regs *regs = current_pt_regs();
unsigned int old = (regs->flags >> 12) & 3;
struct thread_struct *t = &current->thread;