andrew 39fa59acb9 Fix booting on ARM.
In PHYS_TO_VM_PAGE() when VM_PHYSSEG_DENSE is set the check if we are past
the end of vm_page_array was incorrect causing it to return NULL. This
value is then used in vm_phys_add_page causing a data abort.

Reviewed by:	alc, kib, imp
Tested by:	stas
2012-05-22 07:04:23 +00:00
..
2011-01-16 20:40:50 +00:00
2012-02-10 12:35:57 +00:00
2012-05-22 07:04:23 +00:00