x86: simplify set_bitmap in ioport_32.c
authorThomas Gleixner <tglx@linutronix.de>
Wed, 30 Jan 2008 12:30:23 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:23 +0000 (13:30 +0100)
commitf2f58178f497ca56501d44d79982621e19c5007f
tree82d040b61a2f2fa1ffe150386a6e60350e3dd573
parent3ebc51d7c95425c3b4667fa042576fb1c6e2ea16
x86: simplify set_bitmap in ioport_32.c

Simplify set_bitmap(). This is not in a hotpath and we really can use the
straight forward loop through those bits. A similar implementation is used
in the 64 bit code as well.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/ioport_32.c