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>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0612141433050.7079@localhost.localdomain>
Date:	Thu, 14 Dec 2006 14:39:07 -0500 (EST)
From:	"Robert P. J. Day" <rpjday@...dspring.com>
To:	Linux kernel mailing list <linux-kernel@...r.kernel.org>
cc:	trivial@...nel.org
Subject: [PATCH] init: Remove commented, obsolete code invoking smp_commence().


  Remove the "#if 0"ed call to smp_commence, which is clearly
obsolete.

Signed-off-by: Robert P. J. Day <rpjday@...dspring.com>

---

  There appears to be no value to leaving that call in the code, given
that the source file "arch/ia64/kernel/smpboot.c" explains:

  "Switch over to hotplug-CPU boot-sequence.
smp_boot_cpus()/smp_commence() is replaced by
smp_prepare_cpus()/__cpu_up()/smp_cpus_done()."

diff --git a/init/main.c b/init/main.c
index e3f0bb2..a148039 100644
--- a/init/main.c
+++ b/init/main.c
@@ -397,11 +397,6 @@ static void __init smp_init(void)
 	/* Any cleanup work */
 	printk(KERN_INFO "Brought up %ld CPUs\n", (long)num_online_cpus());
 	smp_cpus_done(max_cpus);
-#if 0
-	/* Get other processors into their bootup holding patterns. */
-
-	smp_commence();
-#endif
 }

 #endif
-
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