]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Set context.vdso before installing the mapping
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 5 Jun 2009 12:04:51 +0000 (14:04 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Jun 2009 12:46:40 +0000 (14:46 +0200)
commit7b3bfaa575a5a35410b61a658971dcac3a308c17
tree4816daabf4b89ea8497a2b045da7670b70e96c58
parent45de91201c787fa76cec9f50aa837485359efa1f
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