]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9a81f1df7d3ad421304166417f9f6ffe255aea37
tree82d040b61a2f2fa1ffe150386a6e60350e3dd573
parent92a79b70b00bdf6ab94b93a20151bb48cbc5c2dc
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