summaryrefslogtreecommitdiffstats
path: root/arch/x86/oprofile/op_x86_model.h
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2009-06-04 02:36:44 +0200
committerRobert Richter <robert.richter@amd.com>2009-06-11 19:42:16 +0200
commit217d3cfb959756cb493fc03106c0253baa420ce8 (patch)
tree05b5531feba327812b7c791c1077a7225c526fbd /arch/x86/oprofile/op_x86_model.h
parentdea3766ca052a4f572b16a23a322553c064d75af (diff)
downloadlinux-217d3cfb959756cb493fc03106c0253baa420ce8.tar.gz
linux-217d3cfb959756cb493fc03106c0253baa420ce8.tar.bz2
linux-217d3cfb959756cb493fc03106c0253baa420ce8.zip
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 @@
#include <asm/types.h>
#include <asm/intel_arch_perfmon.h>
-#define CTR_IS_RESERVED(msrs, c) ((msrs)->counters[(c)].addr ? 1 : 0)
-#define CTRL_IS_RESERVED(msrs, c) ((msrs)->controls[(c)].addr ? 1 : 0)
-
struct op_saved_msr {
unsigned int high;
unsigned int low;