x86/oprofile: remove MSR macros for ppro 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)
commit74c9a5c341bb1f6cbb5095b07c77230f19682ce8
tree9299c89bb9bd7efabea7b603c86d0b9d13592c0a
parentd2731a4387ad6c6bca07abfe9ed41d450fb6d665
x86/oprofile: remove MSR macros for ppro 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_ppro.c