Skip to contentSkip to conversation

cmdline_parse_early: fix parse 'edd=' option

PATCH New Eric Xiao 1 participant 1 message Nov 9, 2009

lore
Share & tools
lore

Eric Xiao

author
#0 lore raw

PATCH 1/1 cmdline_parse_early: fix parse 'edd=' option

if'edd='is default, it should decrease "opt_edd" not "opt_edid"

xen/arch/x86/boot/cmdline.S +1 -1
diff -r 42e268da38b9 -r f23b859e237a xen/arch/x86/boot/cmdline.S
@@ -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. */