git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
x86-64, paravirt: Call set_iopl_mask() on 64 bits
[pandora-kernel.git]
/
arch
/
x86
/
kernel
/
ioport.c
diff --git
a/arch/x86/kernel/ioport.c
b/arch/x86/kernel/ioport.c
index
85ecc7c
..
8eec0ec
100644
(file)
--- a/
arch/x86/kernel/ioport.c
+++ b/
arch/x86/kernel/ioport.c
@@
-116,10
+116,8
@@
long sys_iopl(unsigned int level, struct pt_regs *regs)
return -EPERM;
}
regs->flags = (regs->flags & ~X86_EFLAGS_IOPL) | (level << 12);
-#ifdef CONFIG_X86_32
t->iopl = level << 12;
set_iopl_mask(t->iopl);
-#endif
return 0;
}