svn commit: r341760 - stable/12/sys/arm/arm
Michal Meloun
mmel at FreeBSD.org
Sun Dec 9 06:46:54 UTC 2018
Author: mmel
Date: Sun Dec 9 06:46:53 2018
New Revision: 341760
URL: https://svnweb.freebsd.org/changeset/base/341760
Log:
MFC r341393:
Return computed real memory size, not a value from similarly named global
variable.
Modified:
stable/12/sys/arm/arm/physmem.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/arm/arm/physmem.c
==============================================================================
--- stable/12/sys/arm/arm/physmem.c Sun Dec 9 06:45:49 2018 (r341759)
+++ stable/12/sys/arm/arm/physmem.c Sun Dec 9 06:46:53 2018 (r341760)
@@ -265,7 +265,7 @@ regions_to_avail(vm_paddr_t *avail, uint32_t exflags,
if (pavail != NULL)
*pavail = availmem;
if (prealmem != NULL)
- *prealmem = realmem;
+ *prealmem = totalmem;
return (acnt);
}
More information about the svn-src-stable-12
mailing list