summaryrefslogtreecommitdiffstats
path: root/arch/s390/mm
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2012-05-03 15:50:44 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-05-16 14:42:39 +0200
commit5e8010cb50d3de7202641c0088c211f7c9593ebc (patch)
tree56e43d01cb815ccac549af9c3c4a1dfd82fb5dee /arch/s390/mm
parent161beff8f40d83bb144b52f34cf966357162cdf1 (diff)
downloadop-kernel-dev-5e8010cb50d3de7202641c0088c211f7c9593ebc.zip
op-kernel-dev-5e8010cb50d3de7202641c0088c211f7c9593ebc.tar.gz
s390: replace TIF_SIE with PF_VCPU
Replace the check for TIF_SIE in the fault handler by a check for PF_VCPU. With the last user of TIF_SIE gone we can now remove the bit. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm')
-rw-r--r--arch/s390/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/fault.c b/arch/s390/mm/fault.c
index 46ef3fd..b9aeaca 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)
down_read(&mm->mmap_sem);
#ifdef CONFIG_PGSTE
- if (test_tsk_thread_flag(current, TIF_SIE) && S390_lowcore.gmap) {
+ if ((current->flags & PF_VCPU) && S390_lowcore.gmap) {
address = __gmap_fault(address,
(struct gmap *) S390_lowcore.gmap);
if (address == -EFAULT) {
OpenPOWER on IntegriCloud