]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/ioport.c
x86: use regparm(3) for passed-in pt_regs pointer
[karo-tx-linux.git] / arch / x86 / kernel / ioport.c
index 7ec148646312f2b13807043af2368e6d770f60d4..e41980a373ab9768e42cedcd11bf7e6a60dcb1df 100644 (file)
@@ -131,8 +131,9 @@ static int do_iopl(unsigned int level, struct pt_regs *regs)
 }
 
 #ifdef CONFIG_X86_32
-ptregscall long sys_iopl(struct pt_regs *regs, unsigned int level)
+long sys_iopl(struct pt_regs *regs)
 {
+       unsigned int level = regs->bx;
        struct thread_struct *t = &current->thread;
        int rc;