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; } _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"