diff options
Diffstat (limited to 'emu/Linux/segflush-power.c')
| -rw-r--r-- | emu/Linux/segflush-power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emu/Linux/segflush-power.c b/emu/Linux/segflush-power.c index 8fa58189..0804d686 100644 --- a/emu/Linux/segflush-power.c +++ b/emu/Linux/segflush-power.c @@ -16,7 +16,7 @@ segflush(void *a, ulong n) // cache blocks are often eight words (32 bytes) long, sometimes 16 bytes. // need to determine it dynamically? - for (p = (ulong *)((ulong)a & ~3UL); (char *)p < (char *)a + n; p++) + for (p = (ulong *)((ulong)a & ~7UL); (char *)p < (char *)a + n; p++) __asm__("dcbst 0,%0\n\t" // not dcbf, which writes back, then invalidates "icbi 0,%0\n\t" : // no output |
