[PATCH] x86: initialise tss->io_bitmap_owner to something
[linux-2.6.git] / arch / i386 / kernel / traps.c
index 19e90bd..c34d1bf 100644 (file)
@@ -488,6 +488,7 @@ fastcall void __kprobes do_general_protection(struct pt_regs * regs,
                                tss->io_bitmap_max - thread->io_bitmap_max);
                tss->io_bitmap_max = thread->io_bitmap_max;
                tss->io_bitmap_base = IO_BITMAP_OFFSET;
+               tss->io_bitmap_owner = thread;
                put_cpu();
                return;
        }