x86/oprofile: remove MSR macros for AMD cpus
authorRobert Richter <robert.richter@amd.com>
Fri, 22 May 2009 17:47:38 +0000 (19:47 +0200)
committerRobert Richter <robert.richter@amd.com>
Thu, 11 Jun 2009 17:42:11 +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