Date: Sun, 22 Nov 2015 02:40:19 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r291154 - head/sys/mips/malta Message-ID: <201511220240.tAM2eJiO082449@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Sun Nov 22 02:40:19 2015 New Revision: 291154 URL: https://svnweb.freebsd.org/changeset/base/291154 Log: [mips]: Don't hard-code PHYS_AVAIL_ENTRIES. Modified: head/sys/mips/malta/malta_machdep.c Modified: head/sys/mips/malta/malta_machdep.c ============================================================================== --- head/sys/mips/malta/malta_machdep.c Sun Nov 22 02:01:01 2015 (r291153) +++ head/sys/mips/malta/malta_machdep.c Sun Nov 22 02:40:19 2015 (r291154) @@ -177,7 +177,7 @@ mips_init(unsigned long memsize, uint64_ { int i; - for (i = 0; i < 10; i++) { + for (i = 0; i < PHYS_AVAIL_ENTRIES; i++) { phys_avail[i] = 0; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511220240.tAM2eJiO082449>