]> git.karo-electronics.de Git - linux-beck.git/commit
oprofile/x86: fix perfctr nmi reservation for mulitplexing
authorRobert Richter <robert.richter@amd.com>
Thu, 25 Feb 2010 18:16:46 +0000 (19:16 +0100)
committerRobert Richter <robert.richter@amd.com>
Fri, 26 Feb 2010 14:19:03 +0000 (15:19 +0100)
commit68dc819ce829f7e7977a56524e710473bdb55115
tree639908a6534dc9ee4780d62ad9f5f28d52e58b7d
parent8588d1067147e14d1dd521fbadd1d2564f8cc794
oprofile/x86: fix perfctr nmi reservation for mulitplexing

Multiple virtual counters share one physical counter. The reservation
of virtual counters fails due to duplicate allocation of the same
counter. The counters are already reserved. Thus, virtual counter
reservation may removed at all. This also makes the code easier.

Cc: stable@kernel.org
Signed-off-by: Robert Richter <robert.richter@amd.com>
arch/x86/oprofile/nmi_int.c
arch/x86/oprofile/op_model_amd.c