diff options
| -rw-r--r-- | arch/x86/kernel/cpu/perf_event_intel_rapl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/kernel/cpu/perf_event_intel_rapl.c b/arch/x86/kernel/cpu/perf_event_intel_rapl.c index 81431c0f0614..ed446bdcbf31 100644 --- a/arch/x86/kernel/cpu/perf_event_intel_rapl.c +++ b/arch/x86/kernel/cpu/perf_event_intel_rapl.c | |||
| @@ -107,12 +107,6 @@ static ssize_t __rapl_##_var##_show(struct kobject *kobj, \ | |||
| 107 | static struct kobj_attribute format_attr_##_var = \ | 107 | static struct kobj_attribute format_attr_##_var = \ |
| 108 | __ATTR(_name, 0444, __rapl_##_var##_show, NULL) | 108 | __ATTR(_name, 0444, __rapl_##_var##_show, NULL) |
| 109 | 109 | ||
| 110 | #define RAPL_EVENT_DESC(_name, _config) \ | ||
| 111 | { \ | ||
| 112 | .attr = __ATTR(_name, 0444, rapl_event_show, NULL), \ | ||
| 113 | .config = _config, \ | ||
| 114 | } | ||
| 115 | |||
| 116 | #define RAPL_CNTR_WIDTH 32 /* 32-bit rapl counters */ | 110 | #define RAPL_CNTR_WIDTH 32 /* 32-bit rapl counters */ |
| 117 | 111 | ||
| 118 | #define RAPL_EVENT_ATTR_STR(_name, v, str) \ | 112 | #define RAPL_EVENT_ATTR_STR(_name, v, str) \ |
