]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc36e05eeb3993422ea15cf4c87a93f10c3c42dbc
tree466491e290a48b03426b9ee20ab364f53b8efb55
parentf3d9f95c95f8c51fd8563573a8586f9770267bce
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