summaryrefslogtreecommitdiffstats
path: root/arch/x86/vdso/vgetcpu.c
diff options
context:
space:
mode:
authorSteven Rostedt2008-05-12 21:20:41 +0200
committerThomas Gleixner2008-05-23 20:31:39 +0200
commit23adec554a7648f99c8acc0caf49c66320cd2b84 (patch)
treee0b00785326ed31ce447021a499e8337f891a6a6 /arch/x86/vdso/vgetcpu.c
parenttracing: add notrace to linkage.h (diff)
downloadkernel-qcow2-linux-23adec554a7648f99c8acc0caf49c66320cd2b84.tar.gz
kernel-qcow2-linux-23adec554a7648f99c8acc0caf49c66320cd2b84.tar.xz
kernel-qcow2-linux-23adec554a7648f99c8acc0caf49c66320cd2b84.zip
x86: add notrace annotations to vsyscall.
Add the notrace annotations to the vsyscall functions - there we are not in kernel context yet, so the tracer function cannot (and must not) be called. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/vdso/vgetcpu.c')
-rw-r--r--arch/x86/vdso/vgetcpu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/vdso/vgetcpu.c b/arch/x86/vdso/vgetcpu.c
index c8097f17f8a9..9fbc6b20026b 100644
--- a/arch/x86/vdso/vgetcpu.c
+++ b/arch/x86/vdso/vgetcpu.c
@@ -13,7 +13,8 @@
#include <asm/vgtod.h>
#include "vextern.h"
-long __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
+notrace long
+__vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused)
{
unsigned int p;