x86: Set context.vdso before installing the mapping
commitf7b6eb3fa07269da20dbbde8ba37a0273fdbd9c9
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 5 Jun 2009 12:04:51 +0000 (5 14:04 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Jun 2009 12:46:40 +0000 (5 14:46 +0200)
tree4816daabf4b89ea8497a2b045da7670b70e96c58
parentcf1f45744c6fa3501e0a6f0ddc418f0ef27e725b
x86: Set context.vdso before installing the mapping

In order to make arch_vma_name() work from inside
install_special_mapping() we need to set the context.vdso
before calling it.

( This is needed for performance counters to be able to track
  this special executable area. )

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/vdso/vdso32-setup.c
arch/x86/vdso/vma.c