x86/oprofile: remove MSR macros for p4 cpus
authorRobert Richter <robert.richter@amd.com>
Mon, 25 May 2009 18:23:23 +0000 (20:23 +0200)
committerRobert Richter <robert.richter@amd.com>
Thu, 11 Jun 2009 17:42:12 +0000 (19:42 +0200)
The macros CTRL_READ() and CTRL_WRITE() make the code hard to read and
maintain. This patch replaces them by rdmsr()/wrmsr() functions and
simplifies the code.

Signed-off-by: Robert Richter <robert.richter@amd.com>

No differences found