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] [day] [month] [year] [list]
Date:	Wed, 8 Sep 2010 08:36:08 GMT
From:	tip-bot for Christian Dietrich 
	<qy03fugy@...d.informatik.uni-erlangen.de>
To:	linux-tip-commits@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
	efault@....de, peterz@...radead.org, tj@...nel.org,
	tglx@...utronix.de, qy03fugy@...d.informatik.uni-erlangen.de,
	mingo@...e.hu
Subject: [tip:sched/core] sched: Remove unnecessary #ifdef CONFIG_SMP

Commit-ID:  ed2d372c0738386b8a184a6a6bea9c16df6ffb68
Gitweb:     http://git.kernel.org/tip/ed2d372c0738386b8a184a6a6bea9c16df6ffb68
Author:     Christian Dietrich <qy03fugy@...d.informatik.uni-erlangen.de>
AuthorDate: Mon, 6 Sep 2010 16:37:05 +0200
Committer:  Ingo Molnar <mingo@...e.hu>
CommitDate: Wed, 8 Sep 2010 08:14:20 +0200

sched: Remove unnecessary #ifdef CONFIG_SMP

The CONFIG_SMP ifdef isn't necessary at this point, because it
is checked in an outer ifdef level already and has no effect
here.

Cleanup only, no functional effect.

Signed-off-by: Christian Dietrich <qy03fugy@...d.informatik.uni-erlangen.de>
Cc: vamos-dev@...informatik.uni-erlangen.de
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Mike Galbraith <efault@....de>
Cc: Tejun Heo <tj@...nel.org>
LKML-Reference: <7a3a39ef3f765a4473cb026b1f204059568a7098.1283782701.git.qy03fugy@...d.informatik.uni-erlangen.de>
Signed-off-by: Ingo Molnar <mingo@...e.hu>
---
 kernel/sched.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/kernel/sched.c b/kernel/sched.c
index 09b574e..8eef8e5 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -426,9 +426,7 @@ struct root_domain {
 	 */
 	cpumask_var_t rto_mask;
 	atomic_t rto_count;
-#ifdef CONFIG_SMP
 	struct cpupri cpupri;
-#endif
 };
 
 /*
@@ -437,7 +435,7 @@ struct root_domain {
  */
 static struct root_domain def_root_domain;
 
-#endif
+#endif /* CONFIG_SMP */
 
 /*
  * This is the main, per-CPU runqueue data structure.
--
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