]> git.itanic.dy.fi Git - linux-stable/commit
tracing/x86: Don't use mcount in kvmclock.c
authorSteven Rostedt <srostedt@redhat.com>
Thu, 23 Sep 2010 02:22:25 +0000 (22:22 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 6 Jan 2011 23:08:09 +0000 (18:08 -0500)
commit629ccc0f02ff1ce098c5dcb99e88f656b1162db9
treee130b001b541b8c0b4062793e07e84c525fc719f
parent918a16fe94368e8fb0a281b00758879e31cffb17
tracing/x86: Don't use mcount in kvmclock.c

commit 258af47479980d8238a04568b94a4e55aa1cb537 upstream.

The guest can use the paravirt clock in kvmclock.c which is used
by sched_clock(), which in turn is used by the tracing mechanism
for timestamps, which leads to infinite recursion.

Disable mcount/tracing for kvmclock.o.

Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Avi Kivity <avi@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
arch/x86/kernel/Makefile