diff options
author | Steve French <sfrench@us.ibm.com> | 2006-03-03 12:27:25 +0100 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-03-03 12:27:25 +0100 |
commit | c6ee60b7c8bbc78e3b1776b2820a7e7f95f8996a (patch) | |
tree | 99b48ef0f5217fddc0aa897d9e60d95ace7da6ff /arch/powerpc/kernel/vdso.c | |
parent | [CIFS] Upate cifs change log (diff) | |
parent | [PATCH] reiserfs: do not check if unsigned < 0 (diff) | |
download | linux-c6ee60b7c8bbc78e3b1776b2820a7e7f95f8996a.tar.xz linux-c6ee60b7c8bbc78e3b1776b2820a7e7f95f8996a.zip |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'arch/powerpc/kernel/vdso.c')
-rw-r--r-- | arch/powerpc/kernel/vdso.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/vdso.c b/arch/powerpc/kernel/vdso.c index f0c47dab0903..04f7df39ffbb 100644 --- a/arch/powerpc/kernel/vdso.c +++ b/arch/powerpc/kernel/vdso.c @@ -182,8 +182,8 @@ static struct page * vdso_vma_nopage(struct vm_area_struct * vma, unsigned long offset = address - vma->vm_start; struct page *pg; #ifdef CONFIG_PPC64 - void *vbase = test_thread_flag(TIF_32BIT) ? - vdso32_kbase : vdso64_kbase; + void *vbase = (vma->vm_mm->task_size > TASK_SIZE_USER32) ? + vdso64_kbase : vdso32_kbase; #else void *vbase = vdso32_kbase; #endif |