aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/kernel/ioport.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/kernel/ioport.c')
-rw-r--r--arch/x86_64/kernel/ioport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/ioport.c b/arch/x86_64/kernel/ioport.c
index b81614970ec..fe063d3cfe4 100644
--- a/arch/x86_64/kernel/ioport.c
+++ b/arch/x86_64/kernel/ioport.c
@@ -56,6 +56,7 @@ asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int turn_on)
memset(bitmap, 0xff, IO_BITMAP_BYTES);
t->io_bitmap_ptr = bitmap;
+ set_thread_flag(TIF_IO_BITMAP);
}
/*