x86: initialize io_bitmap_base on 32bit
authorThomas Gleixner <tglx@linutronix.de>
Fri, 1 May 2009 18:59:25 +0000 (20:59 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 1 May 2009 19:09:53 +0000 (21:09 +0200)
commitf9a196b8dceba3c1e5fe885b81e45043ad7c60fc
tree737d05ec2e46c16f191a919ebc2545911425c420
parent2f65dd475c6a8a997145ea83cc3d2d5e6dc55af1
x86: initialize io_bitmap_base on 32bit

commit db949bba3c7cf2e664ac12e237c6d4c914f0c69d (x86-32: use non-lazy
io bitmap context switching) broke ioperm for 32bit because it removed
the lazy initialization of io_bitmap_base and did not set it to the
real bitmap offset.

[ Impact: fix non-working sys_ioperm() on 32-bit kernels ]

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/common.c