commit | 1131a478245b00664ae2dbc0f68db987b51fa806 | [log] [tgz] |
---|---|---|
author | Robert Richter <robert.richter@amd.com> | Mon May 25 20:23:23 2009 +0200 |
committer | Robert Richter <robert.richter@amd.com> | Thu Jun 11 19:42:12 2009 +0200 |
tree | bbe3e63c0853c38b94e9b141242a5ffbaf026a12 | |
parent | 74c9a5c341bb1f6cbb5095b07c77230f19682ce8 [diff] |
x86/oprofile: remove MSR macros for p4 cpus 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>