diff options
author | Ingo Molnar <mingo@kernel.org> | 2013-07-19 03:34:42 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-07-19 03:34:42 -0400 |
commit | e43fff2b98b4e99b189c086a9cf740b19eaf3538 (patch) | |
tree | 658a5f73d5806fe47856547b17cbd23592856c62 /kernel/events | |
parent | 67516844625f45f0ce148a01c27bf41f591872b2 (diff) | |
parent | ecb2cf1a6b63825a258ff4fe0d7f3070fbe4676b (diff) |
Merge branch 'linus' into perf/core
Merge in a v3.11-rc1-ish branch to go from v3.10 based development
to a v3.11 based one.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/events')
-rw-r--r-- | kernel/events/core.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/kernel/events/core.c b/kernel/events/core.c index 708ab70ca442..5e2bce90b477 100644 --- a/kernel/events/core.c +++ b/kernel/events/core.c | |||
@@ -6233,8 +6233,6 @@ perf_event_mux_interval_ms_store(struct device *dev, | |||
6233 | return count; | 6233 | return count; |
6234 | } | 6234 | } |
6235 | 6235 | ||
6236 | #define __ATTR_RW(attr) __ATTR(attr, 0644, attr##_show, attr##_store) | ||
6237 | |||
6238 | static struct device_attribute pmu_dev_attrs[] = { | 6236 | static struct device_attribute pmu_dev_attrs[] = { |
6239 | __ATTR_RO(type), | 6237 | __ATTR_RO(type), |
6240 | __ATTR_RW(perf_event_mux_interval_ms), | 6238 | __ATTR_RW(perf_event_mux_interval_ms), |
@@ -7629,7 +7627,7 @@ static void __init perf_event_init_all_cpus(void) | |||
7629 | } | 7627 | } |
7630 | } | 7628 | } |
7631 | 7629 | ||
7632 | static void __cpuinit perf_event_init_cpu(int cpu) | 7630 | static void perf_event_init_cpu(int cpu) |
7633 | { | 7631 | { |
7634 | struct swevent_htable *swhash = &per_cpu(swevent_htable, cpu); | 7632 | struct swevent_htable *swhash = &per_cpu(swevent_htable, cpu); |
7635 | 7633 | ||
@@ -7718,7 +7716,7 @@ static struct notifier_block perf_reboot_notifier = { | |||
7718 | .priority = INT_MIN, | 7716 | .priority = INT_MIN, |
7719 | }; | 7717 | }; |
7720 | 7718 | ||
7721 | static int __cpuinit | 7719 | static int |
7722 | perf_cpu_notify(struct notifier_block *self, unsigned long action, void *hcpu) | 7720 | perf_cpu_notify(struct notifier_block *self, unsigned long action, void *hcpu) |
7723 | { | 7721 | { |
7724 | unsigned int cpu = (long)hcpu; | 7722 | unsigned int cpu = (long)hcpu; |