[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ia64
Subject:    [PATCH] kexec-tools: bug fix to --noio option
From:       Jay Lan <jlan () sgi ! com>
Date:       2006-11-15 21:22:55
Message-ID: 455B852F.4050502 () sgi ! com
[Download RAW message or body]

This patch is to fix a "--noio option" patch posted on 9/20/2006 by
Nanhai that disables I/O in purgatory code.

The "--noio" option should specify zero argument to avoid eating out
the next option.


Signed-off-by: Jay Lan <jlan@sgi.com>


["noio-fix" (text/plain)]

Index: kexec-tools-1.101/kexec/arch/ia64/kexec-elf-ia64.c
===================================================================
--- kexec-tools-1.101.orig/kexec/arch/ia64/kexec-elf-ia64.c	2006-11-15 13:05:25.000000000 -0800
+++ kexec-tools-1.101/kexec/arch/ia64/kexec-elf-ia64.c	2006-11-15 13:06:23.941960199 -0800
@@ -128,7 +128,7 @@ int elf_ia64_load(int argc, char **argv,
 		{"command-line", 1, 0, OPT_APPEND},
 		{"append",       1, 0, OPT_APPEND},
 		{"initrd",       1, 0, OPT_RAMDISK},
-		{"noio",       1, 0, OPT_NOIO},
+		{"noio",         0, 0, OPT_NOIO},
 		{0, 0, 0, 0},
 	};
 

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic