svn commit: r258471 - head/sys/amd64/amd64
Ed Maste
emaste at FreeBSD.org
Fri Nov 22 14:56:10 UTC 2013
Author: emaste
Date: Fri Nov 22 14:56:10 2013
New Revision: 258471
URL: http://svnweb.freebsd.org/changeset/base/258471
Log:
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.
Discussed with: jhb@
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/amd64/amd64/machdep.c
Modified: head/sys/amd64/amd64/machdep.c
==============================================================================
--- head/sys/amd64/amd64/machdep.c Fri Nov 22 12:51:55 2013 (r258470)
+++ head/sys/amd64/amd64/machdep.c Fri Nov 22 14:56:10 2013 (r258471)
@@ -1336,7 +1336,7 @@ add_physmap_entry(uint64_t base, uint64_
physmap_idx = *physmap_idxp;
if (length == 0)
- return (0);
+ return (1);
/*
* Find insertion point while checking for overlap. Start off by
More information about the svn-src-head
mailing list