Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1131a478 authored by Robert Richter's avatar Robert Richter
Browse files

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: default avatarRobert Richter <robert.richter@amd.com>
parent 74c9a5c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment