]> git.baikalelectronics.ru Git - kernel.git/commit
Fix zero length sys_cacheflush
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 19 Oct 2005 10:57:14 +0000 (19:57 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:32:44 +0000 (19:32 +0100)
commitdd33c42b3f050393f4383542b025b631aed7b2b4
tree935c776cb9927f34b7038247249e4de68c93a562
parent393d6ec8dcb33cdff5de42403378da83e7b81a97
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>
arch/mips/mm/cache.c