diff options
Diffstat (limited to 'arch/s390/mm/fault.c')
-rw-r--r-- | arch/s390/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c index 46ef3fd0663b..b9aeaca26d3a 100644 --- a/arch/s390/mm/fault.c +++ b/arch/s390/mm/fault.c | |||
@@ -294,7 +294,7 @@ static inline int do_exception(struct pt_regs *regs, int access) | |||
294 | down_read(&mm->mmap_sem); | 294 | down_read(&mm->mmap_sem); |
295 | 295 | ||
296 | #ifdef CONFIG_PGSTE | 296 | #ifdef CONFIG_PGSTE |
297 | if (test_tsk_thread_flag(current, TIF_SIE) && S390_lowcore.gmap) { | 297 | if ((current->flags & PF_VCPU) && S390_lowcore.gmap) { |
298 | address = __gmap_fault(address, | 298 | address = __gmap_fault(address, |
299 | (struct gmap *) S390_lowcore.gmap); | 299 | (struct gmap *) S390_lowcore.gmap); |
300 | if (address == -EFAULT) { | 300 | if (address == -EFAULT) { |