freebsd-skq/sys/cddl
pjd 07cc016152 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
..
compat/opensolaris strchr() and strrchr() are already present in the kernel, but with less 2007-04-10 21:42:12 +00:00
contrib/opensolaris Fix overflow, which was causing endless loops when 32bit machine had more 2007-04-13 18:50:03 +00:00