[PATCH] sparc32: remove '-s' boot argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The '-s' boot argument is not working and not needed. Users should use
argument 's' or '1' to boot into single user mode.
This patch removes the remains of the '-s' argument.

Martin

	Signed-off-by: Martin Habets <errandir_news@xxxxxxxxxxxxxxxxx>
---
Index: linux/arch/sparc/kernel/setup.c
===================================================================
--- linux.orig/arch/sparc/kernel/setup.c	2006-10-12 13:07:14.000000000 +0100
+++ linux/arch/sparc/kernel/setup.c	2006-10-12 13:14:35.000000000 +0100
@@ -104,7 +104,6 @@
 
 unsigned int boot_flags __initdata = 0;
 #define BOOTME_DEBUG  0x1
-#define BOOTME_SINGLE 0x2
 
 /* Exported for mm/init.c:paging_init. */
 unsigned long cmdline_memory_size __initdata = 0;
@@ -132,9 +131,6 @@
 	case 'd':
 		boot_flags |= BOOTME_DEBUG;
 		break;
-	case 's':
-		boot_flags |= BOOTME_SINGLE;
-		break;
 	case 'h':
 		prom_printf("boot_flags_init: Halt!\n");
 		prom_halt();
-
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux