aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/events
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2013-07-19 03:34:42 -0400
committerIngo Molnar <mingo@kernel.org>2013-07-19 03:34:42 -0400
commite43fff2b98b4e99b189c086a9cf740b19eaf3538 (patch)
tree658a5f73d5806fe47856547b17cbd23592856c62 /kernel/events
parent67516844625f45f0ce148a01c27bf41f591872b2 (diff)
parentecb2cf1a6b63825a258ff4fe0d7f3070fbe4676b (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.c6
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
6238static struct device_attribute pmu_dev_attrs[] = { 6236static 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
7632static void __cpuinit perf_event_init_cpu(int cpu) 7630static 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
7721static int __cpuinit 7719static int
7722perf_cpu_notify(struct notifier_block *self, unsigned long action, void *hcpu) 7720perf_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;