| commit | 750ccf687ff9adbf2a16066a3a2757d0f761384c | [log] [tgz] |
|---|---|---|
| author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | Wed Oct 19 19:57:14 2005 +0900 |
| committer | Ralf Baechle <ralf@linux-mips.org> | Sat Oct 29 19:32:44 2005 +0100 |
| tree | 935c776cb9927f34b7038247249e4de68c93a562 | |
| parent | f4c72cc737561aab0d9c7f877abbc0a853f1c465 [diff] |
Fix zero length sys_cacheflush
Cacheflush(0, 0, 0) was crashing the system. This is because
flush_icache_range(start, end) tries to flushing whole address space
(0 - ~0UL) if both start and end are zero.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>