]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - kernel/kgdb.c
Make constants in kernel/timeconst.h fixed 64 bits
[linux-2.6-omap-h63xx.git] / kernel / kgdb.c
index 4d1b3c232377a7c0e07a6c702d5590fbfd873fbb..1bd0ec1c80b284ec06870bc8bc2b2ce726e27815 100644 (file)
@@ -591,9 +591,9 @@ static void kgdb_flush_swbreak_addr(unsigned long addr)
        if (current->mm && current->mm->mmap_cache) {
                flush_cache_range(current->mm->mmap_cache,
                                  addr, addr + BREAK_INSTR_SIZE);
-       } else {
-               flush_icache_range(addr, addr + BREAK_INSTR_SIZE);
        }
+       /* Force flush instruction cache if it was outside the mm */
+       flush_icache_range(addr, addr + BREAK_INSTR_SIZE);
 }
 
 /*