From d2caef7bfa67181341fe2f1cbf68884ae6e45639 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 12 Jun 2009 18:34:15 +0000 Subject: 20090612-1932 --- emu/Linux/segflush-power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'emu/Linux/segflush-power.c') 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 -- cgit v1.2.3