commit | 3b967ae1cbfef9211dbe8deb93cba6f492c89d6c | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Fri Feb 06 08:08:06 2009 -0600 |
committer | Wolfgang Denk <wd@denx.de> | Tue Feb 10 00:47:18 2009 +0100 |
tree | 0f87a4b5540da1d8f3f9c732960699a11cba0337 | |
parent | 4cd44a8f650edebf325d18e225ab9c7d06678cd3 [diff] |
ppc: Fix roll over bug in flush_cache() If we call flush_cache(0xfffff000, 0x1000) it would never terminate the loop since end = 0xffffffff and we'd roll over our counter from 0xfffffe0 to 0 (assuming a 32-byte cache line) Signed-off-by: Kumar Gala <galak@kernel.crashing.org>