aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/oprofile/op_x86_model.h
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2009-06-03 20:36:44 -0400
committerRobert Richter <robert.richter@amd.com>2009-06-11 13:42:16 -0400
commit217d3cfb959756cb493fc03106c0253baa420ce8 (patch)
tree05b5531feba327812b7c791c1077a7225c526fbd /arch/x86/oprofile/op_x86_model.h
parentdea3766ca052a4f572b16a23a322553c064d75af (diff)
x86/oprofile: replace CTR*_IS_RESERVED macros
The patch replaces all CTR*_IS_RESERVED macros. 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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/x86/oprofile/op_x86_model.h b/arch/x86/oprofile/op_x86_model.h
index 1c4577795a92..69f1eb46e1b3 100644
--- a/arch/x86/oprofile/op_x86_model.h
+++ b/arch/x86/oprofile/op_x86_model.h
@@ -15,9 +15,6 @@
15#include <asm/types.h> 15#include <asm/types.h>
16#include <asm/intel_arch_perfmon.h> 16#include <asm/intel_arch_perfmon.h>
17 17
18#define CTR_IS_RESERVED(msrs, c) ((msrs)->counters[(c)].addr ? 1 : 0)
19#define CTRL_IS_RESERVED(msrs, c) ((msrs)->controls[(c)].addr ? 1 : 0)
20
21struct op_saved_msr { 18struct op_saved_msr {
22 unsigned int high; 19 unsigned int high;
23 unsigned int low; 20 unsigned int low;