Skip to content
Snippets Groups Projects
Commit bced7cce authored by Kumar Gala's avatar Kumar Gala Committed by Wolfgang Denk
Browse files

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: default avatarKumar Gala <galak@kernel.crashing.org>
parent 87c90639
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment