tracing: x86, mmiotrace: only register for die notifier when tracer active
authorStuart Bennett <stuart@freedesktop.org>
Tue, 28 Apr 2009 19:17:51 +0000 (20:17 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 09:33:34 +0000 (11:33 +0200)
commit0f9a623dd6c9b5b4dd00c232f29525bfc7a8ecf2
treed442cd6e03cb458b231374697ed7bb04caafabc2
parent46e91d00b1165b14b484aa33800e1bba0794ae1a
tracing: x86, mmiotrace: only register for die notifier when tracer active

Follow up to afcfe024aebd74b0984a41af9a34e009cf5badaf in Linus' tree
("x86: mmiotrace: quieten spurious warning message")

Signed-off-by: Stuart Bennett <stuart@freedesktop.org>
Acked-by: Pekka Paalanen <pq@iki.fi>
Cc: Steven Rostedt <rostedt@goodmis.org>
LKML-Reference: <1240946271-7083-5-git-send-email-stuart@freedesktop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/kmmio.c
arch/x86/mm/mmio-mod.c
include/linux/mmiotrace.h