]> git.ipfire.org Git - people/ms/linux.git/commit
tracing/x86: Don't use mcount in pvclock.c
authorJeremy Fitzhardinge <jeremy@goop.org>
Thu, 23 Sep 2010 00:07:27 +0000 (17:07 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 29 Oct 2010 04:51:16 +0000 (21:51 -0700)
commitf574ccce1edf756c98a7ab5d7a95f84b59c897fe
treeda99c8df189e4157c0583a6610f5367e482b4850
parent1cd864ee52f2768c2701230b2d86dd9244947488
tracing/x86: Don't use mcount in pvclock.c

commit 9ecd4e1689208afe9b059a5ce1333acb2f42c4d2 upstream.

When using a paravirt clock, pvclock.c can be used by sched_clock(),
which in turn is used by the tracing mechanism for timestamps,
which leads to infinite recursion.

Disable mcount/tracing for pvclock.o.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
LKML-Reference: <4C9A9A3F.4040201@goop.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/Makefile