Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1339999
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [patch V3 01/28] x86/perf/intel/uncore: Remove pointless mask check |
| Date | 2016-02-22 23:30 +0100 |
| Message-ID | <r579p-4ce-55@gated-at.bofh.it> (permalink) |
| References | <r579n-4ce-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
uncore_cpumask_init() is only ever called from intel_uncore_init() where the
mask is guaranteed to be empty.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
arch/x86/kernel/cpu/perf_event_intel_uncore.c | 6 ------
1 file changed, 6 deletions(-)
--- a/arch/x86/kernel/cpu/perf_event_intel_uncore.c
+++ b/arch/x86/kernel/cpu/perf_event_intel_uncore.c
@@ -1342,12 +1342,6 @@ static void __init uncore_cpumask_init(v
{
int cpu;
- /*
- * ony invoke once from msr or pci init code
- */
- if (!cpumask_empty(&uncore_cpu_mask))
- return;
-
cpu_notifier_register_begin();
for_each_online_cpu(cpu) {
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[patch V3 01/28] x86/perf/intel/uncore: Remove pointless mask check Thomas Gleixner <tglx@linutronix.de> - 2016-02-22 23:30 +0100 [tip:perf/core] perf/x86/intel/uncore: Remove pointless mask check tip-bot for Thomas Gleixner <tipbot@zytor.com> - 2016-02-29 12:10 +0100
csiph-web