Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Dec 2018 06:46:53 +0000 (UTC)
From:      Michal Meloun <mmel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r341760 - stable/12/sys/arm/arm
Message-ID:  <201812090646.wB96kriT066432@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812090646.wB96kriT066432>