x86: fix ioport unification on 32-bit
authorChris Wright <chrisw@sous-sol.org>
Wed, 30 Jan 2008 12:33:10 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:10 +0000 (13:33 +0100)
commit9718769d298f8642d5ef41eb5f55669d7c5b9fd6
tree466491e290a48b03426b9ee20ab364f53b8efb55
parentccafa59a0061d7c44d15d02403120fd02b52c667
x86: fix ioport unification on 32-bit

ioport unification was broken for 32-bit; it was missing
the acutal pushf/popf EFLAGS manipulation (set_iopl_mask()).
Also, use of volatile looks like leftover cruft.

Cc: mboton@gmail.com
Cc: Kevin Winchester <kjwinchester@gmail.com>
Cc: Zach Brown <zach.brown@oracle.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/ioport.c