jhb         2006-02-14 14:50:11 UTC

  FreeBSD src repository

  Modified files:
    sys/alpha/alpha      machdep.c 
    sys/ia64/ia64        machdep.c 
    sys/sparc64/sparc64  machdep.c 
  Log:
  Fix the hw.realmem sysctl.  The global realmem variable is a count of
  pages, not a count of bytes.  The sysctl handler for hw.realmem already
  uses ctob() to convert realmem from pages to bytes.  Thus, on archs that
  were storing a byte count in the realmem variable, hw.realmem was inflated.
  
  Reported by:    Valerio daelli valerio dot daelli at gmail dot com (alpha)
  MFC after:      3 days
  
  Revision  Changes    Path
  1.237     +1 -1      src/sys/alpha/alpha/machdep.c
  1.206     +1 -1      src/sys/ia64/ia64/machdep.c
  1.127     +1 -1      src/sys/sparc64/sparc64/machdep.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to