summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/menus.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2009-11-10 10:34:44 +0000
committerdes <des@FreeBSD.org>2009-11-10 10:34:44 +0000
commit340ba037cfa81f1baf1780b25f78fd0a5731dd75 (patch)
tree778d621b806ce71c422901fbcf8055a7eca4d3b3 /usr.sbin/sysinstall/menus.c
parentc8078e95c2da55dcffbdaa54dd4f17ee58e58c51 (diff)
downloadFreeBSD-src-340ba037cfa81f1baf1780b25f78fd0a5731dd75.zip
FreeBSD-src-340ba037cfa81f1baf1780b25f78fd0a5731dd75.tar.gz
Remove a bunch of code used to detect SMP on ((i386 && !pc98) || amd64) and
offer to install an SMP kernel. The way this worked was: on supported platforms, code to read ACPI tables and BIOS MP tables was compiled into sysinstall, and if an SMP kernel config was present in the source tree when sysinstall was built, code that called it was also compiled. Since we haven't had SMP kernel configs in years, the latter was never compiled and the former never ran. This only removes dead and unreachable code; it does *not* remove the NCpus variable, nor the code that sets it to 1, nor the code that asks the user to select a kernel from a list. Discussed with: re@, randi@ and others
Diffstat (limited to 'usr.sbin/sysinstall/menus.c')
-rw-r--r--usr.sbin/sysinstall/menus.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/menus.c b/usr.sbin/sysinstall/menus.c
index 8ea7f98..decb4fd 100644
--- a/usr.sbin/sysinstall/menus.c
+++ b/usr.sbin/sysinstall/menus.c
@@ -1031,10 +1031,6 @@ DMenu MenuKernelDistributions = {
NULL, clearKernel, NULL, NULL, ' ', ' ', ' ' },
{ " GENERIC", "GENERIC kernel configuration",
dmenuFlagCheck, dmenuSetFlag, NULL, &KernelDists, '[', 'X', ']', DIST_KERNEL_GENERIC },
-#ifdef WITH_SMP
- { " SMP", "GENERIC symmetric multiprocessor kernel configuration",
- dmenuFlagCheck, dmenuSetFlag, NULL, &KernelDists, '[', 'X', ']', DIST_KERNEL_SMP },
-#endif
{ NULL } },
};
OpenPOWER on IntegriCloud