x86, ftrace: fix section mismatch in hw-branch-tracer
authorMarkus Metzger <markus.t.metzger@intel.com>
Tue, 24 Feb 2009 12:55:18 +0000 (13:55 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Feb 2009 17:23:34 +0000 (18:23 +0100)
Fix an invalid memory reference problem when cpu hotplug support is
disabled and the hw-branch-tracer is set as current tracer.

Initializing the tracer calls bts_trace_init() which has already
been freed at this time.

Reported-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Markus Metzger <markus.t.metzger@intel.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found