lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 27 May 2015 07:22:46 -0700
From:	tip-bot for Bartosz Golaszewski <tipbot@...or.com>
To:	linux-tip-commits@...r.kernel.org
Cc:	oleg.drokin@...el.com, corbet@....net, linux@...ck-us.net,
	jdelvare@...e.de, torvalds@...ux-foundation.org,
	fenghua.yu@...el.com, bgolaszewski@...libre.com,
	tglx@...utronix.de, linux-kernel@...r.kernel.org, hpa@...or.com,
	rjw@...ysocki.net, viresh.kumar@...aro.org,
	catalin.marinas@....com, mingo@...nel.org, bcousson@...libre.com,
	peterz@...radead.org, linux@....linux.org.uk
Subject: [tip:sched/core] p4-clockmod: Replace cpu_sibling_mask()
  with topology_sibling_cpumask()

Commit-ID:  b60f9a7ea36c45a6bcb10a2ec0a1a3773427637f
Gitweb:     http://git.kernel.org/tip/b60f9a7ea36c45a6bcb10a2ec0a1a3773427637f
Author:     Bartosz Golaszewski <bgolaszewski@...libre.com>
AuthorDate: Tue, 26 May 2015 15:11:32 +0200
Committer:  Ingo Molnar <mingo@...nel.org>
CommitDate: Wed, 27 May 2015 15:22:16 +0200

p4-clockmod: Replace cpu_sibling_mask() with topology_sibling_cpumask()

The former duplicates the functionality of the latter but is
neither documented nor arch-independent.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
Acked-by: Viresh Kumar <viresh.kumar@...aro.org>
Acked-by: Rafael J. Wysocki <rjw@...ysocki.net>
Cc: Benoit Cousson <bcousson@...libre.com>
Cc: Catalin Marinas <catalin.marinas@....com>
Cc: Fenghua Yu <fenghua.yu@...el.com>
Cc: Guenter Roeck <linux@...ck-us.net>
Cc: Jean Delvare <jdelvare@...e.de>
Cc: Jonathan Corbet <corbet@....net>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Oleg Drokin <oleg.drokin@...el.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Russell King <linux@....linux.org.uk>
Cc: Thomas Gleixner <tglx@...utronix.de>
Link: http://lkml.kernel.org/r/1432645896-12588-6-git-send-email-bgolaszewski@baylibre.com
Signed-off-by: Ingo Molnar <mingo@...nel.org>
---
 drivers/cpufreq/p4-clockmod.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/cpufreq/p4-clockmod.c b/drivers/cpufreq/p4-clockmod.c
index 529cfd9..5dd95da 100644
--- a/drivers/cpufreq/p4-clockmod.c
+++ b/drivers/cpufreq/p4-clockmod.c
@@ -172,7 +172,7 @@ static int cpufreq_p4_cpu_init(struct cpufreq_policy *policy)
 	unsigned int i;
 
 #ifdef CONFIG_SMP
-	cpumask_copy(policy->cpus, cpu_sibling_mask(policy->cpu));
+	cpumask_copy(policy->cpus, topology_sibling_cpumask(policy->cpu));
 #endif
 
 	/* Errata workaround */
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ