freebsd-dev/sys/cddl/contrib/opensolaris
Pawel Jakub Dawidek bd59d85850 Fix overflow, which was causing endless loops when 32bit machine had more
than 2GB of RAM. This was because our physmem is long and 'physmem*PAGESIZE'
can be negative for more than 2GB of memory.

Reported by:	Andrey V. Elsukov <bu7cher@yandex.ru>

It is not yet tested by Andrey, so there can be other problems, but this
was definiately a bug, so I'm committing a fix now.
2007-04-13 18:50:03 +00:00
..
common MFp4: Bring back comments. 2007-04-12 23:14:25 +00:00
uts/common Fix overflow, which was causing endless loops when 32bit machine had more 2007-04-13 18:50:03 +00:00