diff options
author | Robert Richter <robert.richter@amd.com> | 2009-06-03 19:09:27 +0200 |
---|---|---|
committer | Robert Richter <robert.richter@amd.com> | 2009-06-11 20:12:57 +0200 |
commit | 95e74e62c1540b1115fe8cec5b592f22960f2bb2 (patch) | |
tree | c9f821446c4e50642b29cf0618168ba839ff7735 /arch/x86/oprofile/op_x86_model.h | |
parent | bbc5986d2db427fdd61b6116ff8b9ed988e663a8 (diff) | |
download | linux-95e74e62c1540b1115fe8cec5b592f22960f2bb2.tar.gz linux-95e74e62c1540b1115fe8cec5b592f22960f2bb2.tar.bz2 linux-95e74e62c1540b1115fe8cec5b592f22960f2bb2.zip |
x86/oprofile: use 64 bit values to save MSR states
This patch removes struct op_saved_msr and replaces it by an u64
variable. This makes code easier and it is possible to use 64 bit MSR
functions.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/x86/oprofile/op_x86_model.h')
-rw-r--r-- | arch/x86/oprofile/op_x86_model.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/x86/oprofile/op_x86_model.h b/arch/x86/oprofile/op_x86_model.h index 69f1eb46e1b3..fda52b4c1b95 100644 --- a/arch/x86/oprofile/op_x86_model.h +++ b/arch/x86/oprofile/op_x86_model.h @@ -15,14 +15,9 @@ #include <asm/types.h> #include <asm/intel_arch_perfmon.h> -struct op_saved_msr { - unsigned int high; - unsigned int low; -}; - struct op_msr { - unsigned long addr; - struct op_saved_msr saved; + unsigned long addr; + u64 saved; }; struct op_msrs { |