svn commit: r269060 - stable/10/sys/amd64/amd64
Ed Maste
emaste at FreeBSD.org
Thu Jul 24 14:24:28 UTC 2014
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
More information about the svn-src-stable
mailing list