diff options
Diffstat (limited to 'arch/s390/kernel/vdso.c')
-rw-r--r-- | arch/s390/kernel/vdso.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/kernel/vdso.c b/arch/s390/kernel/vdso.c index 7b76ee4fb16c..45e1708b70fd 100644 --- a/arch/s390/kernel/vdso.c +++ b/arch/s390/kernel/vdso.c | |||
@@ -22,7 +22,7 @@ | |||
22 | #include <linux/elf.h> | 22 | #include <linux/elf.h> |
23 | #include <linux/security.h> | 23 | #include <linux/security.h> |
24 | #include <linux/bootmem.h> | 24 | #include <linux/bootmem.h> |
25 | 25 | #include <linux/compat.h> | |
26 | #include <asm/pgtable.h> | 26 | #include <asm/pgtable.h> |
27 | #include <asm/system.h> | 27 | #include <asm/system.h> |
28 | #include <asm/processor.h> | 28 | #include <asm/processor.h> |
@@ -214,7 +214,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) | |||
214 | vdso_pagelist = vdso64_pagelist; | 214 | vdso_pagelist = vdso64_pagelist; |
215 | vdso_pages = vdso64_pages; | 215 | vdso_pages = vdso64_pages; |
216 | #ifdef CONFIG_COMPAT | 216 | #ifdef CONFIG_COMPAT |
217 | if (test_thread_flag(TIF_31BIT)) { | 217 | if (is_compat_task()) { |
218 | vdso_pagelist = vdso32_pagelist; | 218 | vdso_pagelist = vdso32_pagelist; |
219 | vdso_pages = vdso32_pages; | 219 | vdso_pages = vdso32_pages; |
220 | } | 220 | } |