cmdline_parse_early: fix parse 'edd=' option

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

Signed-off-by: Xiao Guangrong <ericxiao.gr@gmail.com>
This commit is contained in:
Keir Fraser committed 2009-11-09 20:06:48 +00:00
1 parent 3f3b3ccbb3
commit b6a5bfafee
1 file changed
+1 -1
+1 -1
View File
@@ -191,7 +191,7 @@ cmdline_parse_early:
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. */
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.