]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit1131a478245b00664ae2dbc0f68db987b51fa806
treebbe3e63c0853c38b94e9b141242a5ffbaf026a12
parent74c9a5c341bb1f6cbb5095b07c77230f19682ce8
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>
arch/x86/oprofile/op_model_p4.c