Date: Thu, 24 Jul 2014 14:24:27 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r269060 - stable/10/sys/amd64/amd64 Message-ID: <201407241424.s6OEOR3l068286@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Thu Jul 24 14:24:27 2014 New Revision: 269060 URL: http://svnweb.freebsd.org/changeset/base/269060 Log: MFC r258471: Don't abort SMAP processing after an entry of length 0 Length 0 is not special and should just be skipped. This is the same behaviour as i386. Sponsored by: The FreeBSD Foundation Modified: stable/10/sys/amd64/amd64/machdep.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/amd64/amd64/machdep.c ============================================================================== --- stable/10/sys/amd64/amd64/machdep.c Thu Jul 24 14:11:33 2014 (r269059) +++ stable/10/sys/amd64/amd64/machdep.c Thu Jul 24 14:24:27 2014 (r269060) @@ -1344,7 +1344,7 @@ add_smap_entry(struct bios_smap *smap, v return (1); if (smap->length == 0) - return (0); + return (1); /* * Find insertion point while checking for overlap. Start off by
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407241424.s6OEOR3l068286>