aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/mm/maccess.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/mm/maccess.c')
-rw-r--r--arch/s390/mm/maccess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/mm/maccess.c b/arch/s390/mm/maccess.c
index 8a993a53fcd6..fec59c067d0d 100644
--- a/arch/s390/mm/maccess.c
+++ b/arch/s390/mm/maccess.c
@@ -163,11 +163,11 @@ static int is_swapped(unsigned long addr)
163 unsigned long lc; 163 unsigned long lc;
164 int cpu; 164 int cpu;
165 165
166 if (addr < sizeof(struct _lowcore)) 166 if (addr < sizeof(struct lowcore))
167 return 1; 167 return 1;
168 for_each_online_cpu(cpu) { 168 for_each_online_cpu(cpu) {
169 lc = (unsigned long) lowcore_ptr[cpu]; 169 lc = (unsigned long) lowcore_ptr[cpu];
170 if (addr > lc + sizeof(struct _lowcore) - 1 || addr < lc) 170 if (addr > lc + sizeof(struct lowcore) - 1 || addr < lc)
171 continue; 171 continue;
172 return 1; 172 return 1;
173 } 173 }