Leandro Lupori b8efbfb9d3 [ppc64] prevent infinite loop on icache sync
At moea64_sync_icache(), when the 'va' argument has page size
alignment, round_page() will return the same value as 'va'.
This would cause 'len' to be 0 and thus an infinite loop.

With this change, 'lim' will always point to the next page boundary.

This issue occurred especially during debugging sessions, when a breakpoint
was placed on an exact page-aligned offset, for instance.

Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D19149
2019-02-12 11:29:03 +00:00
..
2019-02-12 08:16:05 +00:00
2019-02-04 21:28:25 +00:00
2019-02-12 02:55:25 +00:00
2019-01-11 09:40:34 +00:00
2019-01-31 19:05:56 +00:00
2019-02-12 03:32:40 +00:00
2019-02-04 21:28:25 +00:00