Skip to contentSkip to conversation

small fix for ppc icache_flush_range

PATCH New Heikki Lindholm 1 participant 1 message Mar 4, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 small fix for ppc icache_flush_range

There's a non-sense line in ppc icache_flush_range. This fixes it to what was probably meant.

-- Heikki Lindholm

dyngen.h renamed from dyngen.h.orig +1 -1
@@ -59,7 +59,7 @@
 {
     unsigned long p;
 
-    p = start & ~(MIN_CACHE_LINE_SIZE - 1);
+    start = start & ~(MIN_CACHE_LINE_SIZE - 1);
     stop = (stop + MIN_CACHE_LINE_SIZE - 1) & ~(MIN_CACHE_LINE_SIZE - 1);
     
     for (p = start; p < stop; p += MIN_CACHE_LINE_SIZE) {