From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Xiao Subject: [PATCH] cmdline_parse_early: fix parse 'edd=' option Date: Tue, 10 Nov 2009 03:07:13 +0800 Message-ID: <4AF86861.2000102@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "keir.fraser" Cc: Xiao Guangrong , xen-devel List-Id: xen-devel@lists.xenproject.org if'edd='is default, it should decrease "opt_edd" not "opt_edid" Signed-off-by: Xiao Guangrong diff -r 42e268da38b9 -r f23b859e237a xen/arch/x86/boot/cmdline.S --- a/xen/arch/x86/boot/cmdline.S Mon Nov 09 08:19:55 2009 +0000 +++ b/xen/arch/x86/boot/cmdline.S Tue Nov 10 02:34:16 2009 +0800 @@ -191,7 +191,7 @@ decb bootsym_phys(opt_edd) /* opt_edd=1: edd=skipmbr */ cmpw $0x6b73,(%eax) /* 0x6b73 == "sk" */ je .Lparse_edid - decb bootsym_phys(opt_edid) /* opt_edd=0: edd=on (default) */ + decb bootsym_phys(opt_edd) /* opt_edd=0: edd=on (default) */ .Lparse_edid: /* Check for 'edid=' command-line option. */